From 7cb26fe7358fc5b3d7671f2db68235f6bb07ef3f Mon Sep 17 00:00:00 2001 From: server Date: Sat, 10 May 2025 11:21:43 -0600 Subject: [PATCH] =?UTF-8?q?Se=20agreg=C3=B3=20una=20funci=C3=B3n=20que=20p?= =?UTF-8?q?ermite=20recuperar=20una=20contrase=C3=B1a=20de=20antena=20en?= =?UTF-8?q?=20funci=C3=B3n=20del=20ID=20del=20cliente=20y=20enviarla=20por?= =?UTF-8?q?=20mensaje=20de=20notificaci=C3=B3n=20al=20instalador=20para=20?= =?UTF-8?q?tareas=20que=20se=20le=20asignen,=20adem=C3=A1s=20de=20modifica?= =?UTF-8?q?ron=20los=20IDs=20de=20plantillas=20de=20mensajes=20y=20se=20el?= =?UTF-8?q?eimin=C3=B3=20el=20campo=20de=20direcci=C3=B3n=20para=20la=20no?= =?UTF-8?q?tioficaci=C3=B3n=20de=20tarea=20o=20servicio=20del=20instalador?= =?UTF-8?q?.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- data/plugin.log | 15420 +++++++++++++++- manifest.json | 2 +- src/Facade/AbstractMessageNotifierFacade.php | 492 +- src/Facade/AbstractOxxoOperationsFacade.php | 14 +- src/Facade/AbstractStripeOperationsFacade.php | 27 +- src/Facade/ClientCallBellAPI.php | 19 +- src/Plugin.php | 60 +- vendor/composer/installed.php | 4 +- 8 files changed, 15910 insertions(+), 128 deletions(-) diff --git a/data/plugin.log b/data/plugin.log index 42dff899..4cbe0d9b 100755 --- a/data/plugin.log +++ b/data/plugin.log @@ -847,29 +847,29 @@ La notificación fue enviada correctamente con estado: enqueued [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.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 @@ -7379,29 +7379,29 @@ Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26"," [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.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} @@ -7618,29 +7618,29 @@ Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26"," [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.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} @@ -20092,3 +20092,15285 @@ Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26" [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 + diff --git a/manifest.json b/manifest.json index 8fc697b7..36c05664 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.1", + "version": "2.7.5", "unmsVersionCompliancy": { "min": "2.1.0", "max": null diff --git a/src/Facade/AbstractMessageNotifierFacade.php b/src/Facade/AbstractMessageNotifierFacade.php index 21d204c2..dd5b177b 100755 --- a/src/Facade/AbstractMessageNotifierFacade.php +++ b/src/Facade/AbstractMessageNotifierFacade.php @@ -13,6 +13,7 @@ use SmsNotifier\Facade\ClientCallBellAPI; use GuzzleHttp\Client; use Ubnt\UcrmPluginSdk\Service\UcrmApi; use \DateTime; +use GuzzleHttp\Exception\RequestException; /* @@ -461,13 +462,6 @@ 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); @@ -513,7 +507,8 @@ abstract class AbstractMessageNotifierFacade $this->validarNumeroTelefono((string) $previousInstallerWhatsApp), $jsonPreviousInstallerJobNotificationData, false, - true + true, $this->getVaultCredentials($arrayClientCRM['id']) + ); @@ -896,7 +891,7 @@ abstract class AbstractMessageNotifierFacade /* * Update the client's data at CallBell */ - public function onlyUpdate(NotificationData $notificationData, $phoneToUpdate = null, $updateEmail=false): void + public function onlyUpdate(NotificationData $notificationData, $phoneToUpdate = null, $updateEmail = false): void { //$this->logger->info("Se enviará una actualización a Callbell " . PHP_EOL); @@ -1066,7 +1061,6 @@ abstract class AbstractMessageNotifierFacade // string $clientSmsNumber // ): void; - function validarNumeroTelefono($telefono) { // Eliminar espacios y guiones @@ -1102,4 +1096,482 @@ abstract class AbstractMessageNotifierFacade return ''; } + 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 + } + + + + } + + + } 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($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); + + + 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(), 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 + } + + } 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 + } + + + + } 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/AbstractOxxoOperationsFacade.php b/src/Facade/AbstractOxxoOperationsFacade.php index 1e51775f..97891290 100755 --- a/src/Facade/AbstractOxxoOperationsFacade.php +++ b/src/Facade/AbstractOxxoOperationsFacade.php @@ -80,6 +80,7 @@ abstract class AbstractOxxoOperationsFacade $stripeCustomerId = null; $clientEmail = ''; + $clientFullName = ''; $clientGuzzleHttp = new Client([ 'base_uri' => $baseUri, @@ -116,6 +117,7 @@ abstract class AbstractOxxoOperationsFacade $this->logger->error("Timeout al obtener el cliente en CRM: " . $clientID . PHP_EOL); //devolver un array con los campos del codigo error, descripción de la falla, clientID y amount $arrayOxxoPayment['oxxo_reference'] = ''; + $arrayOxxoPayment['url'] = ''; $arrayOxxoPayment['error'] = 'errorTimeoutGetClient'; $arrayOxxoPayment['failDescription'] = 'Timeout al obtener el cliente en CRM: ' . $clientID; $arrayOxxoPayment['clientID'] = $clientID; @@ -126,6 +128,7 @@ abstract class AbstractOxxoOperationsFacade $this->logger->error("Error al obtener el cliente en CRM (Error {$e->getCode()}): " . $e->getMessage() . PHP_EOL); //devolver un array con los campos del codigo error, descripción de la falla, clientID y amount $arrayOxxoPayment['oxxo_reference'] = ''; + $arrayOxxoPayment['url'] = ''; $arrayOxxoPayment['error'] = 'errorGetClient'; $arrayOxxoPayment['failDescription'] = 'Error al obtener el cliente en CRM: ' . $clientID; $arrayOxxoPayment['clientID'] = $clientID; @@ -233,11 +236,18 @@ abstract class AbstractOxxoOperationsFacade } catch (Exception $e) { $this->logger->error("Error inesperado al crear PaymentIntent (Error {$e->getCode()}): " . $e->getMessage() . PHP_EOL); + //si e->getMessage incluye el mensaje: You must provide a customer when creating or updating a PaymentIntent with a `customer_ba (truncated...) declarar una variable y ahi poner "Este cliente no tiene cuenta de Stripe" + if($e->getMessage() == 'You must provide a customer when creating or updating a PaymentIntent with a `customer_ba (truncated...)'){ + $this->logger->error("Este cliente no tiene cuenta de Stripe" . PHP_EOL); + $arrayOxxoPayment['failDescription'] = 'Este cliente no tiene cuenta de Stripe: ' . $clientID; + }else{ + $this->logger->error("Error inesperado al crear PaymentIntent: " . $e->getMessage() . PHP_EOL); + $arrayOxxoPayment['failDescription'] = 'Error inesperado al crear PaymentIntent: ' . $clientID; + } //devolver un array con los campos del codigo error, descripción de la falla, clientID y amount $arrayOxxoPayment['oxxo_reference'] = ''; $arrayOxxoPayment['url'] = ''; $arrayOxxoPayment['error'] = 'errorCreatePaymentIntent'; - $arrayOxxoPayment['failDescription'] = 'Error inesperado al crear PaymentIntent: ' . $clientID; $arrayOxxoPayment['clientID'] = $clientID; $arrayOxxoPayment['amount'] = $integerAmount; $arrayOxxoPayment['clientFullName'] = $clientFullName; @@ -305,7 +315,7 @@ abstract class AbstractOxxoOperationsFacade $this->logger->info("Referencia OXXO: " . $oxxo_reference . PHP_EOL); $this->logger->info("URL del recibo: " . $oxxo_receipt_url . PHP_EOL); - $this->captureScreenshot($oxxo_receipt_url); + //$this->captureScreenshot($oxxo_receipt_url); //devolver un array con los campos de url de oxxo, descripción de la falla, clientID y amount $arrayOxxoPayment['oxxo_reference'] = $oxxo_reference; $arrayOxxoPayment['url'] = $oxxo_receipt_url; diff --git a/src/Facade/AbstractStripeOperationsFacade.php b/src/Facade/AbstractStripeOperationsFacade.php index 73100388..46f4301a 100755 --- a/src/Facade/AbstractStripeOperationsFacade.php +++ b/src/Facade/AbstractStripeOperationsFacade.php @@ -58,7 +58,10 @@ abstract class AbstractStripeOperationsFacade */ public function createPaymentIntent($event_json) { - $this->logger->info("Evento recibido: " . json_encode($event_json) . PHP_EOL); + // if ($event_json['data']['object']['type'] != 'funded') { + // return; + // } + // $this->logger->info("Evento recibido: " . json_encode($event_json) . PHP_EOL); $configManager = \Ubnt\UcrmPluginSdk\Service\PluginConfigManager::create(); $config = $configManager->loadConfig(); @@ -192,19 +195,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) { - 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->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; @@ -236,7 +239,7 @@ abstract class AbstractStripeOperationsFacade $this->logger->info("Se eliminó la etiqueta 'CREARCLABESTRIPE' del cliente." . PHP_EOL); return; } - + @@ -258,10 +261,6 @@ abstract class AbstractStripeOperationsFacade $this->createCustomerStripe($notificationData, $stripe, $baseUri, $UCRMAPIToken); } - - - - // /** // * implement in subclass with the specific messaging provider // * @see TwilioNotifierFacade::sendWhatsApp() @@ -398,7 +397,7 @@ abstract class AbstractStripeOperationsFacade }'; //JSON para hacer patch de los custom fields del cliente en el UISCP CRM, Campo para el Stripe Customer ID y la Clabe interbancaria - //valor de $json_data_patch en json + //valor de $json_data_patch en json //$this->logger->info("Valor de json_data_patch: " . $json_data_patch . PHP_EOL); // try{ // $responsepatchCRM= $this->ucrmApi->patch("clients/$ucrm_client_id", [ @@ -419,7 +418,7 @@ abstract class AbstractStripeOperationsFacade // $this->logger->info("Error al hacer el patch al cliente en UCRM: " . $e->getMessage() . PHP_EOL); // return false; // Return false if patch fails // } - + $clientguzz = new Client(); //instancia de cliente GuzzleHttp para consumir API UISP CRM try { @@ -431,7 +430,7 @@ abstract class AbstractStripeOperationsFacade 'Accept' => 'application/json', // Indica que esperamos una respuesta en formato JSON ], 'verify' => false, - ]); + ]); } catch (GuzzleException $error) { @@ -477,4 +476,6 @@ abstract class AbstractStripeOperationsFacade } } + + } diff --git a/src/Facade/ClientCallBellAPI.php b/src/Facade/ClientCallBellAPI.php index ed04b620..702244bd 100755 --- a/src/Facade/ClientCallBellAPI.php +++ b/src/Facade/ClientCallBellAPI.php @@ -118,7 +118,7 @@ class ClientCallBellAPI curl_close($ch); } - public function sendJobNotificationWhatsAppToClient($clientWhatsAppNumber, $jobNotificationData, $reprogramming = false, $changeInstaller = false): bool + public function sendJobNotificationWhatsAppToClient($clientWhatsAppNumber, $jobNotificationData, $passwordVault, $reprogramming = false, $changeInstaller = false): bool { $log = PluginLogManager::create(); //Initialize Logger @@ -190,7 +190,7 @@ class ClientCallBellAPI $log->appendLog("Ruta no prevista en la función." . PHP_EOL); return false; } - public function sendJobNotificationWhatsAppToInstaller($installerWhatsAppNumber, $jobInstallerNotificationData, $reprogramming = false, $changeInstaller = false): bool + public function sendJobNotificationWhatsAppToInstaller($installerWhatsAppNumber, $jobInstallerNotificationData, $reprogramming = false, $changeInstaller = false, $passwordAntenaCliente): bool { $log = PluginLogManager::create(); //Initialize Logger @@ -217,11 +217,12 @@ class ClientCallBellAPI } else { $campo2 = sprintf("*#%s*", $jobInstallerNotificationData['jobId']); $campo3 = $jobInstallerNotificationData['clientFullName']; - $campo4 = $jobInstallerNotificationData['clientAddress']; - $campo5 = $jobInstallerNotificationData['clientWhatsApp']; - $campo6 = $jobInstallerNotificationData['date']; - $campo7 = $jobInstallerNotificationData['jobDescription']; - $campo8 = $jobInstallerNotificationData['gmapsLocation']; + // $campo4 = $jobInstallerNotificationData['clientAddress']; + $campo4 = $jobInstallerNotificationData['clientWhatsApp']; + $campo5 = $jobInstallerNotificationData['date']; + $campo6 = $jobInstallerNotificationData['jobDescription']; + $campo7 = $jobInstallerNotificationData['gmapsLocation']; + $campo8 = $passwordAntenaCliente; } @@ -230,7 +231,7 @@ class ClientCallBellAPI //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\": \"42152c07c67b468ba68e581c0283e22e\",\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\": \"7eb4d8e27cf740779dd6777fad7ffaf4\",\n \"optin_contact\": true\n }"; } else if ($changeInstaller) { //Enviar notificación de cambio de instalador @@ -240,7 +241,7 @@ class ClientCallBellAPI } else { //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\": \"b6663394265e4bcdb215369aa9ba0f21\",\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\": \"fa7f3f8e25934e159a9203eb1cd7f7a6\",\n \"optin_contact\": true\n }"; } $log->appendLog("La cadena CURL que se envia es: " . $curl_string); diff --git a/src/Plugin.php b/src/Plugin.php index c7c0c4ae..0f03c03d 100755 --- a/src/Plugin.php +++ b/src/Plugin.php @@ -80,13 +80,13 @@ class Plugin // $hola = PHP_SAPI; // $this->logger->info('valor de PHP_SAPI: ' . $hola); if (PHP_SAPI === 'fpm-fcgi') { - //$this->logger->debug('Whatsapp over HTTP started'); + // $this->logger->debug('Whatsapp over HTTP started'); $this->processHttpRequest(); - //$this->logger->debug('HTTP request processing ended.'); + // $this->logger->debug('HTTP request processing ended.'); } elseif (PHP_SAPI === 'cli') { - //$this->logger->debug('Whatsapp over CLI started'); + // $this->logger->debug('Whatsapp over CLI started'); $this->processCli(); - //$this->logger->debug('CLI process ended.'); + // $this->logger->debug('CLI process ended.'); } else { throw new \UnexpectedValueException('Unknown PHP_SAPI type: ' . PHP_SAPI); } @@ -109,7 +109,9 @@ class Plugin } - $userInput = file_get_contents('php://input'); + $userInput = file_get_contents('php://input'); //se recibe el json del webhook + //imprimir el json del webhook + $this->logger->debug('valor del webhook: ' . $userInput . PHP_EOL); @@ -119,6 +121,7 @@ class Plugin return; } + $jsonData = @json_decode($userInput, true, 50); if (!isset($jsonData['uuid'])) { @@ -131,19 +134,29 @@ class Plugin if ($jsonData) { switch ($jsonData['type']) { case 'customer_cash_balance_transaction.created': - $this->logger->info('Evento de transfencia al cliente encontrado'); - $this->logger->info('Valor del EventJSON: ' . json_encode($jsonData) . PHP_EOL); - $this->pluginNotifierFacade->createPaymentIntent($jsonData); + $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); + //imprimir detalles del fallo + $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); + //imprimir detalles del evento o pago + $this->logger->info('Detalles del evento: ' . json_encode($jsonData )); break; case 'inbound_payment.payment_attempt': - $this->logger->info('Evento de Pago de OXXO recibido'); - $this->logger->info('Valor del EventJSON: ' . json_encode($jsonData) . PHP_EOL); + //$this->logger->info('Evento de Pago de OXXO recibido: '. json_encode($jsonData) . PHP_EOL); break; case 'energy.alert': $this->logger->info('Evento de Energía recibido: ' . $jsonData['message'] . PHP_EOL); break; case 'oxxo.request': - $this->logger->info('Evento de referencia de oxxo recibido' . PHP_EOL); + $this->logger->info('Evento de solicitud de referencia de oxxo recibido' . PHP_EOL); // Construir la URL basada en el "client_id" @@ -178,12 +191,12 @@ class Plugin //this->logger->error('Error al crear la referencia de OXXO: ' . $responseOxxo); //crear un json con variable $response que contenga las claves y valores del array $responseOxxo los cuales son: oxxo_reference, error, failDescription, clientID, clientFullName amount $response = '{' . - '"url":' . $responseOxxo['url'] . ',' . + '"url": "' . $responseOxxo['url'] . '",' . '"error": "' . $responseOxxo['error'] . '",' . '"failDescription": "' . $responseOxxo['failDescription'] . '",' . '"clientID": "' . $responseOxxo['clientID'] . '",' . '"clientFullName": "' . $responseOxxo['clientFullName'] . '",' . - '"amount": "' . $responseOxxo['amount'] . '",' . + '"amount": "' . $responseOxxo['amount'] . '"' . '}'; header('Content-Type: application/json'); @@ -240,6 +253,9 @@ class Plugin $this->logger->info('Webhook test successful.'); return; + } else if($notification->changeType === 'paperless.update') { + //imprimir el webhook json + $this->logger->info( 'Webhook de paperless update: ' . json_encode($jsonData) . PHP_EOL); } // if (!$notification->clientId) { // $this->logger->warning('No client specified, cannot notify them.'); @@ -348,7 +364,7 @@ class Plugin $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}}} - + // Validar que 'extraData' existe y contiene las claves necesarias if ( @@ -358,11 +374,11 @@ class Plugin $entityBeforeEdit = $jsonData['extraData']['entityBeforeEdit']; $entity = $jsonData['extraData']['entity']; - $this->logger->debug('Validando claves dentro de entityBeforeEdit y entity'); + //$this->logger->debug('Validando claves dentro de entityBeforeEdit y entity'); // Validar si 'isLead' esta en true en entityBeforeEdit y en false en entity if (array_key_exists('isLead', $entityBeforeEdit) && array_key_exists('isLead', $entity)) { - $this->logger->debug('Los datos entityBeforeEdit y entity contienen el campo isLead'); + //$this->logger->debug('Los datos entityBeforeEdit y entity contienen el campo isLead'); $isLeadBefore = $entityBeforeEdit['isLead']; $isLeadAfter = $entity['isLead']; @@ -377,7 +393,7 @@ class Plugin } else { $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']; @@ -394,17 +410,17 @@ class Plugin $this->logger->debug('Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit'); - // Comprobar si la etiqueta 'STRIPE' existe en 'tags' pero no en 'tagsBefore' + // Comprobar si la etiqueta 'CREAR CLABE STRIPE' existe en 'tags' pero no en 'tagsBefore' $stripeTagExists = false; $stripeTagExistsBefore = false; foreach ($tags as $tag) { - if ($tag['name'] === 'CREARCLABESTRIPE') { + if ($tag['name'] === 'CREAR CLABE STRIPE') { $stripeTagExists = true; break; } } foreach ($tagsBefore as $tag) { - if ($tag['name'] === 'CREARCLABESTRIPE') { + if ($tag['name'] === 'CREAR CLABE STRIPE') { $stripeTagExistsBefore = true; break; } @@ -412,9 +428,9 @@ class Plugin // Comprobar si la etiqueta 'STRIPE' existe en 'tags' pero no en 'tagsBefore' if ($stripeTagExists && !$stripeTagExistsBefore) { - $this->logger->debug('La etiqueta CREARCLABESTRIPE se agregará al cliente'); + $this->logger->debug('La etiqueta CREAR CLABE STRIPE se agregará al cliente'); $this->pluginNotifierFacade->createStripeClient($notification, true); - } + } } else { $this->logger->warning('El campo tags no existe en entity o entityBeforeEdit'); } diff --git a/vendor/composer/installed.php b/vendor/composer/installed.php index 3232fb82..22608dd3 100755 --- a/vendor/composer/installed.php +++ b/vendor/composer/installed.php @@ -5,7 +5,7 @@ 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), - 'reference' => '96d7fe6b27798f5bb1deaa200ae416315d270a02', + 'reference' => '9a3af1f3d453e226100a2c8ff4c62b4929373492', 'name' => 'ucrm-plugins/sms-twilio', 'dev' => false, ), @@ -307,7 +307,7 @@ 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), - 'reference' => '96d7fe6b27798f5bb1deaa200ae416315d270a02', + 'reference' => '9a3af1f3d453e226100a2c8ff4c62b4929373492', 'dev_requirement' => false, ), ),