Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
22 kB
0
Indexable
Never
2022-12-23T18:44:02.091Z | [generateCreditNote]  => FiscalDocument original #1133, ffuid: 5ad0b39ddb968032c83dae73bdefd67a751c37e4
2022-12-23T18:44:02.092Z | [generateCreditNote]  => Creando copia del documento original
2022-12-23T18:44:02.093Z | [generateCreditNote]  => Obteniendo datos maestros de company, store y terminal
2022-12-23T18:44:02.109Z | [generateCreditNote]  => Calculando nuevo ffuid para la nota de crédito
2022-12-23T18:44:02.111Z | [generateCreditNote]  => Reemplazando datos para el nuevo comprobante tipo E
2022-12-23T18:44:02.112Z | [generateCreditNote]  => Validando que el fiscalDocument original se encuentre dentro de una factura global y en el SAT
2022-12-23T18:44:02.121Z | [generateCreditNote]  => Agregando el relatedInvoices a la nota de crédito
2022-12-23T18:44:02.121Z | [generateCreditNote]  => Validando nombre del cliente: {"identificationNumber":"DCZ010126SB1","taxCategory":601,"billingEmail":"wilmari.carvajal@napse.global","businessName":"DISTRIBUIDOR CELULAR DE LA ZONA CENTRO","fiscalAddress":"la lucila","postalCode":"11000","_id":"63a5f4adbc8337fc5cb1bdc4"}
2022-12-23T18:44:02.123Z | [generateCreditNote]  => Preparando envio EDICOM...
2022-12-23T18:44:02.123Z | [generateCreditNote]  => Incrementamos el consecutivo para el nuevo fiscalDocument de tipo 'E'
2022-12-23T18:44:02.140Z | [generateCreditNote]  => Validando fiscalDocument para emitir a EDICOM: {"conceptCode":"S01","ffuid":"2df2088f2670ab272bebefe34e60dd1e5fcfcce4","saleCondition":"PUE","electronicInvoice":true,"globalCompute":true,"relatedInvoices":[{"invoiceType":"I","pointOfSale":"TQG1","invoiceNumber":17,"relationInvoice":1,"invoiceDate":"2022-12-23T03:00:00.000Z","ffuid":"a876ad0c61bf78f7bec3d57fb5dd5117c4cdaab9"}],"customer":{"identificationNumber":"DCZ010126SB1","taxCategory":601,"billingEmail":"wilmari.carvajal@napse.global","businessName":"DISTRIBUIDOR CELULAR DE LA ZONA CENTRO","fiscalAddress":"la lucila","postalCode":"20004","_id":"63a5f4adbc8337fc5cb1bdc4"},"statusRefactured":"pending","computedIndicators":true,"authorizationTime":0,"authorizationTimeSAT":0,"exported":false,"refactured":true,"companyCode":"testqamx","channelCode":"testqamx.default","storeCode":"TQ02","terminalCode":"tt2","invoiceNumber":4,"invoiceType":"E","pointOfSale":"QE1","internalId":"1133","orderNumber":"321","invoiceDate":"2022-12-23T18:29:06.574Z","taxedAmount":0,"amountIVA":176,"nonTaxedAmount":0,"exemptAmount":0,"amountOtherTaxes":0,"subtotalAmount":1100,"discountAmount":0,"totalAmount":1276,"currency":"MXN","currencyChange":0,"items":[{"action":"S","sku":"666tjn654mxc4567k","code":"50435213","name":"Tajini","um":"KGM","qty":1,"tax":0.16,"taxCode":"2","taxAmount":16,"internalTax":0,"unitPrice":100,"promotions":[{"code":"0","name":"AAA","amount":0,"percent":0,"taxAmount":0,"internalTax":0,"scope":"0","_id":"63a5f4adbc8337fc5cb1bdc6"}],"discount":0,"totalPrice":100,"itemInfo":[],"_id":"63a5f4adbc8337fc5cb1bdc5","relatedTaxes":[]},{"action":"S","sku":"666tjn654mxc4567k","code":"50435213","name":"patron","um":"LTR","qty":1,"tax":0.16,"taxCode":"2","taxAmount":160,"internalTax":0,"unitPrice":1000,"promotions":[{"code":"0","name":"AAA","amount":0,"percent":0,"taxAmount":0,"internalTax":0,"scope":"0","_id":"63a5f4adbc8337fc5cb1bdc8"}],"discount":0,"totalPrice":1000,"itemInfo":[],"_id":"63a5f4adbc8337fc5cb1bdc7","relatedTaxes":[]}],"relatedTaxes":[{"code":2,"name":"0.16","baseAmount":1100,"amount":176,"_id":"63a5f4adbc8337fc5cb1bdc9"}],"relatedOtherTaxes":[],"optionals":[],"paymentMethods":[],"documentInfo":[],"benefits":[],"identificationNumber":"DCZ010126SB1","documentType":"RFC","operator":"ws123","status":"pending","testMode":false,"attempts":0,"hasCustomer":false,"authorizationType":"FE","__v":0} 
2022-12-23T18:44:02.141Z | [generateCreditNote]  => Enviar fiscalDocument a EDICOM: {"conceptCode":"S01","ffuid":"2df2088f2670ab272bebefe34e60dd1e5fcfcce4","saleCondition":"PUE","electronicInvoice":true,"globalCompute":true,"relatedInvoices":[{"invoiceType":"I","pointOfSale":"TQG1","invoiceNumber":17,"relationInvoice":1,"invoiceDate":"2022-12-23T03:00:00.000Z","ffuid":"a876ad0c61bf78f7bec3d57fb5dd5117c4cdaab9"}],"customer":{"identificationNumber":"DCZ010126SB1","taxCategory":601,"billingEmail":"wilmari.carvajal@napse.global","businessName":"DISTRIBUIDOR CELULAR DE LA ZONA CENTRO","fiscalAddress":"la lucila","postalCode":"20004","_id":"63a5f4adbc8337fc5cb1bdc4"},"statusRefactured":"pending","computedIndicators":true,"authorizationTime":0,"authorizationTimeSAT":0,"exported":false,"refactured":true,"companyCode":"testqamx","channelCode":"testqamx.default","storeCode":"TQ02","terminalCode":"tt2","invoiceNumber":4,"invoiceType":"E","pointOfSale":"QE1","internalId":"1133","orderNumber":"321","invoiceDate":"2022-12-23T18:29:06.574Z","taxedAmount":0,"amountIVA":176,"nonTaxedAmount":0,"exemptAmount":0,"amountOtherTaxes":0,"subtotalAmount":1100,"discountAmount":0,"totalAmount":1276,"currency":"MXN","currencyChange":0,"items":[{"action":"S","sku":"666tjn654mxc4567k","code":"50435213","name":"Tajini","um":"KGM","qty":1,"tax":0.16,"taxCode":"2","taxAmount":16,"internalTax":0,"unitPrice":100,"promotions":[{"code":"0","name":"AAA","amount":0,"percent":0,"taxAmount":0,"internalTax":0,"scope":"0","_id":"63a5f4adbc8337fc5cb1bdc6"}],"discount":0,"totalPrice":100,"itemInfo":[],"_id":"63a5f4adbc8337fc5cb1bdc5","relatedTaxes":[]},{"action":"S","sku":"666tjn654mxc4567k","code":"50435213","name":"patron","um":"LTR","qty":1,"tax":0.16,"taxCode":"2","taxAmount":160,"internalTax":0,"unitPrice":1000,"promotions":[{"code":"0","name":"AAA","amount":0,"percent":0,"taxAmount":0,"internalTax":0,"scope":"0","_id":"63a5f4adbc8337fc5cb1bdc8"}],"discount":0,"totalPrice":1000,"itemInfo":[],"_id":"63a5f4adbc8337fc5cb1bdc7","relatedTaxes":[]}],"relatedTaxes":[{"code":2,"name":"0.16","baseAmount":1100,"amount":176,"_id":"63a5f4adbc8337fc5cb1bdc9"}],"relatedOtherTaxes":[],"optionals":[],"paymentMethods":[],"documentInfo":[],"benefits":[],"identificationNumber":"DCZ010126SB1","documentType":"RFC","operator":"ws123","status":"pending","testMode":false,"attempts":0,"hasCustomer":false,"authorizationType":"FE","__v":0}
2022-12-23T18:44:02.232Z | [generateCreditNote] EDICOM.sendFiscalDocument => XML generado: <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<cfdi:Comprobante xmlns:cfdi="http://www.sat.gob.mx/cfd/4" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sat.gob.mx/cfd/4 http://www.sat.gob.mx/sitio_internet/cfd/4/cfdv40.xsd" Version="4.0" Serie="QE1" Folio="4" Fecha="2022-12-23T15:29:06" Sello="oiw5KLysf2RrL3PxG56Rk+DL4IcwKzNeftGpWwDTGbm323/SS3Q7RzH0fkBiDZmdPJyFHFOoNiYMvAd9IVMkdBb5E0zsOnzFDEESD8Qam08DctNEKpki13y72nCNqYTYfsvXjdnNk7ZIdgYvCgTpV55mucmtk8qQ989gdH0nMCakH+mmTWQohG5nPsPljAZWfAyMrFkSLx+MccKj61xhOuwHzHD3hcZuOjAjnAp8Ua42vhtgA8X+y/7FX6UPP2KKDIJLWWAhAcSNzSOG4QgefS+57WwSn4s/UOjk+9gOCHZ260+G2nExdoF4L/PbT4RBUIRyOfWVGHBNmF6bX13zcw==" FormaPago="01" NoCertificado="00001000000506553451" Certificado="LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUdXVENDQkVHZ0F3SUJBZ0lVTURBd01ERXdNREF3TURBMU1EWTFOVE0wTlRFd0RRWUpLb1pJaHZjTkFRRUwKQ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SE5La1RJQUhaMzlheTFPaWRsYXp0T1hpNGdaK01OaDJzeGpleHNpU2ZPSlkxVThlQnRnSHprVXoxMFN3VwpuUnRHOC82NUZsb1JpQzJvbkVpUjF5Zzl1RERvdWVIVitwOUIrM3paWUtxU2dCQllBc1FOdE95ZE9MTDVDMjF0CjdpNzVNdVZnOWQ3V0h3WXJxL0QvdVZaRlRxZGxOY0kwRnFSWTlkanV3NEhQMTJldlRqa2swb3AveHNWcnVPTXQKRnU4YkQ2dytON0swTVVZeVZHZU5WNTVsV005S2RTOUxpSnFFK1pYQVBzTzQ3RnVCZkRzWWhwNUpYd1d2bkplWQo3OXhxazVacytQS1IrTldwR3JuakdZVHpuT3Joek5BSnhpQktTWkI3K1A5MHVGVHR3VVFEQ3M3SjZBOWxvRk0rClBIMlZCWHZta2U4QWZBYnp1citYNzdmdHI0dGxMZ0htaEVzVlpKbW1qclU1bzNXODlLTVFIdEpQWXdwTHE2azAKaHdiZnRCSkQ5RlBua3h5ZnEwYVhzQUJRWVM2S0dQWGhRampORU13cExnYk1FYTNQYlBkeUp5Wk1JcGxDaFVEMwpIRThVTDA2R2lsOFkzTjVsOWh6aTdTUXA5YUk4am56YVlhYmMrK1pZWGd6c2k4N2dnekM2b0FHTVlNMjM2U3NjCkJ1Z2ZKcUFBM2JTOXhkRnZyYjZaM1NGeExta0t1YzAwMUJzMjJmQTcxbUVqelpVd1RCOHVZQjR2STJVQgotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0t" SubTotal="1100.00" Moneda="MXN" Total="1276.00" TipoDeComprobante="E" MetodoPago="PUE" Exportacion="01" LugarExpedicion="20004">
  <cfdi:Emisor Nombre="DISTRIBUIDOR CELULAR DE LA ZONA CENTRO" RegimenFiscal="601" Rfc="DCZ010126SB1"/>
  <cfdi:Receptor Rfc="DCZ010126SB1" Nombre="DISTRIBUIDOR CELULAR DE LA ZONA CENTRO" UsoCFDI="S01" DomicilioFiscalReceptor="20004" RegimenFiscalReceptor="601"/>
  <cfdi:Conceptos>
    <cfdi:Concepto ClaveProdServ="50435213" Cantidad="1" ClaveUnidad="KGM" Descripcion="Tajini" ValorUnitario="100.00" Importe="100.00" ObjetoImp="02">
      <cfdi:Impuestos>
        <cfdi:Traslados>
          <cfdi:Traslado Base="100.00" Impuesto="002" TipoFactor="Tasa" TasaOCuota="0.160000" Importe="16.00"/>
        </cfdi:Traslados>
      </cfdi:Impuestos>
    </cfdi:Concepto>
    <cfdi:Concepto ClaveProdServ="50435213" Cantidad="1" ClaveUnidad="LTR" Descripcion="patron" ValorUnitario="1000.00" Importe="1000.00" ObjetoImp="02">
      <cfdi:Impuestos>
        <cfdi:Traslados>
          <cfdi:Traslado Base="1000.00" Impuesto="002" TipoFactor="Tasa" TasaOCuota="0.160000" Importe="160.00"/>
        </cfdi:Traslados>
      </cfdi:Impuestos>
    </cfdi:Concepto>
  </cfdi:Conceptos>
  <cfdi:Impuestos TotalImpuestosTrasladados="176.00">
    <cfdi:Traslados>
      <cfdi:Traslado Base="1100.00" Impuesto="002" TipoFactor="Tasa" TasaOCuota="0.160000" Importe="176.00"/>
    </cfdi:Traslados>
  </cfdi:Impuestos>
</cfdi:Comprobante>
2022-12-23T18:44:04.616Z | [generateCreditNote] EDICOM.sendFiscalDocument ERROR => Error al enviar documento fiscal a EDICOM: soapenv:Server.userException: com.edicom.ediwinws.service.cfdi.CFDiException: CFDI40148: El campo DomicilioFiscalReceptor del receptor, debe pertenecer al nombre asociado al RFC registrado en el campo Rfc del Receptor.: {"fault":{"cod":"148","text":"CFDI40148: El campo DomicilioFiscalReceptor del receptor, debe pertenecer al nombre asociado al RFC registrado en el campo Rfc del Receptor."},"hostname":"cfdi03"}
2022-12-23T18:44:04.624Z | [generateCreditNote] STACK: Error: soapenv:Server.userException: com.edicom.ediwinws.service.cfdi.CFDiException: CFDI40148: El campo DomicilioFiscalReceptor del receptor, debe pertenecer al nombre asociado al RFC registrado en el campo Rfc del Receptor.: {"fault":{"cod":"148","text":"CFDI40148: El campo DomicilioFiscalReceptor del receptor, debe pertenecer al nombre asociado al RFC registrado en el campo Rfc del Receptor."},"hostname":"cfdi03"}
    at finish (/usr/local/etc/fiscalflow-mex/node_modules/soap/src/wsdl/index.ts:513:30)
    at WSDL.xmlToObject (/usr/local/etc/fiscalflow-mex/node_modules/soap/src/wsdl/index.ts:491:12)
    at parseSync (/usr/local/etc/fiscalflow-mex/node_modules/soap/src/client.ts:362:25)
    at /usr/local/etc/fiscalflow-mex/node_modules/soap/src/client.ts:551:16
    at Request._callback (/usr/local/etc/fiscalflow-mex/node_modules/soap/src/http.ts:191:9)
    at Request.self.callback (/usr/local/etc/fiscalflow-mex/node_modules/request/request.js:185:22)
    at Request.emit (events.js:314:20)
    at Request.<anonymous> (/usr/local/etc/fiscalflow-mex/node_modules/request/request.js:1154:10)
    at Request.emit (events.js:314:20)
    at IncomingMessage.<anonymous> (/usr/local/etc/fiscalflow-mex/node_modules/request/request.js:1076:12)
    at Object.onceWrapper (events.js:420:28)
    at IncomingMessage.emit (events.js:326:22)
    at endReadableNT (_stream_readable.js:1226:12)
    at processTicksAndRejections (internal/process/task_queues.js:80:21)
2022-12-23T18:44:04.641Z | [generateCreditNote]  ERROR => Error al autorizar documento: {"ack":4000,"message":"(148) CFDI40148: El campo DomicilioFiscalReceptor del receptor, debe pertenecer al nombre asociado al RFC registrado en el campo Rfc del Receptor."}
2022-12-23T18:44:04.642Z | [generateCreditNote] STACK: undefined
2022-12-23T18:44:04.642Z | [generateCreditNote]  ERROR => Error al procesar el documento interno #1133
2022-12-23T18:44:04.643Z | [generateCreditNote] STACK: undefined
2022-12-23T18:44:04.644Z | [generateCreditNote] EDICOM.sendFiscalDocument => Insertando FiscalDocumentLog con error: {"date":"2022-12-23T18:44:02.136Z","companyCode":"testqamx","storeCode":"TQ02","terminalCode":"tt2","ffuid":"2df2088f2670ab272bebefe34e60dd1e5fcfcce4","authorizationType":"FE","invoiceType":"E","pointOfSale":"QE1","invoiceNumber":4,"request":{"cfdi:Comprobante":{"$":{"xmlns:cfdi":"http://www.sat.gob.mx/cfd/4","xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance","xsi:schemaLocation":"http://www.sat.gob.mx/cfd/4 http://www.sat.gob.mx/sitio_internet/cfd/4/cfdv40.xsd","Version":"4.0","Serie":"QE1","Folio":4,"Fecha":"2022-12-23T15:29:06","Sello":"oiw5KLysf2RrL3PxG56Rk+DL4IcwKzNeftGpWwDTGbm323/SS3Q7RzH0fkBiDZmdPJyFHFOoNiYMvAd9IVMkdBb5E0zsOnzFDEESD8Qam08DctNEKpki13y72nCNqYTYfsvXjdnNk7ZIdgYvCgTpV55mucmtk8qQ989gdH0nMCakH+mmTWQohG5nPsPljAZWfAyMrFkSLx+MccKj61xhOuwHzHD3hcZuOjAjnAp8Ua42vhtgA8X+y/7FX6UPP2KKDIJLWWAhAcSNzSOG4QgefS+57WwSn4s/UOjk+9gOCHZ260+G2nExdoF4L/PbT4RBUIRyOfWVGHBNmF6bX13zcw==","FormaPago":"01","NoCertificado":"00001000000506553451","Certificado":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUdXVENDQkVHZ0F3SUJBZ0lVTURBd01ERXdNREF3TURBMU1EWTFOVE0wTlRFd0RRWUpLb1pJaHZjTkFRRUwKQlFBd2dnR0VNU0F3SGdZRFZRUUREQmRCVlZSUFVrbEVRVVFnUTBWU1ZFbEdTVU5CUkU5U1FURXVNQ3dHQTFVRQpDZ3dsVTBWU1ZrbERTVThnUkVVZ1FVUk5TVTVKVTFSU1FVTkpUMDRnVkZKSlFsVlVRVkpKUVRFYU1CZ0dBMVVFCkN3d1JVMEZVTFVsRlV5QkJkWFJvYjNKcGRIa3hLakFvQmdrcWhraUc5dzBCQ1FFV0cyTnZiblJoWTNSdkxuUmwKWTI1cFkyOUFjMkYwTG1kdllpNXRlREVtTUNRR0ExVUVDUXdkUVZZdUlFaEpSRUZNUjA4Z056Y3NJRU5QVEM0ZwpSMVZGVWxKRlVrOHhEakF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hpQktTWkI3K1A5MHVGVHR3VVFEQ3M3SjZBOWxvRk0rClBIMlZCWHZta2U4QWZBYnp1citYNzdmdHI0dGxMZ0htaEVzVlpKbW1qclU1bzNXODlLTVFIdEpQWXdwTHE2azAKaHdiZnRCSkQ5RlBua3h5ZnEwYVhzQUJRWVM2S0dQWGhRampORU13cExnYk1FYTNQYlBkeUp5Wk1JcGxDaFVEMwpIRThVTDA2R2lsOFkzTjVsOWh6aTdTUXA5YUk4am56YVlhYmMrK1pZWGd6c2k4N2dnekM2b0FHTVlNMjM2U3NjCkJ1Z2ZKcUFBM2JTOXhkRnZyYjZaM1NGeExta0t1YzAwMUJzMjJmQTcxbUVqelpVd1RCOHVZQjR2STJVQgotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0t","SubTotal":"1100.00","Moneda":"MXN","Total":"1276.00","TipoDeComprobante":"E","MetodoPago":"PUE","Exportacion":"01","LugarExpedicion":"20004"},"cfdi:Emisor":{"$":{"Nombre":"DISTRIBUIDOR CELULAR DE LA ZONA CENTRO","RegimenFiscal":601,"Rfc":"DCZ010126SB1"}},"cfdi:Receptor":{"$":{"Rfc":"DCZ010126SB1","Nombre":"DISTRIBUIDOR CELULAR DE LA ZONA CENTRO","UsoCFDI":"S01","DomicilioFiscalReceptor":"20004","RegimenFiscalReceptor":601}},"cfdi:Conceptos":{"cfdi:Concepto":[{"$":{"ClaveProdServ":"50435213","Cantidad":1,"ClaveUnidad":"KGM","Descripcion":"Tajini","ValorUnitario":"100.00","Importe":"100.00","ObjetoImp":"02"},"cfdi:Impuestos":{"cfdi:Traslados":{"cfdi:Traslado":{"$":{"Base":"100.00","Impuesto":"002","TipoFactor":"Tasa","TasaOCuota":"0.160000","Importe":"16.00"}}}}},{"$":{"ClaveProdServ":"50435213","Cantidad":1,"ClaveUnidad":"LTR","Descripcion":"patron","ValorUnitario":"1000.00","Importe":"1000.00","ObjetoImp":"02"},"cfdi:Impuestos":{"cfdi:Traslados":{"cfdi:Traslado":{"$":{"Base":"1000.00","Impuesto":"002","TipoFactor":"Tasa","TasaOCuota":"0.160000","Importe":"160.00"}}}}}]},"cfdi:Impuestos":{"$":{"TotalImpuestosTrasladados":"176.00"},"cfdi:Traslados":{"cfdi:Traslado":[{"$":{"Base":"1100.00","Impuesto":"002","TipoFactor":"Tasa","TasaOCuota":"0.160000","Importe":"176.00"}}]}}}},"response":{"ack":4000,"message":"(148) CFDI40148: El campo DomicilioFiscalReceptor del receptor, debe pertenecer al nombre asociado al RFC registrado en el campo Rfc del Receptor."},"isError":true,"isSatOperator":true}
2022-12-23T18:44:04.655Z | [generateCreditNote]  => Proceso de generacion de notas creado satisfactoriamente
2022-12-23T18:44:15.697Z | [5qk8v6a6a5lc0v3agw] <------------ New Request /api/v1/getOperationNumbers ----------->
2022-12-23T18:44:15.698Z | [5qk8v6a6a5lc0v3agw] request.body -->> {"companyCode":"testqamx","pointOfSale":"tqi1"}
2022-12-23T18:44:15.698Z | [5qk8v6a6a5lc0v3agw] loqueRequest authResponseDateStart: 2022-12-23 15:44:15.690
2022-12-23T18:44:15.699Z | [5qk8v6a6a5lc0v3agw] response.body -->> {"ack":0,"message":"OK","operationNumbers":[{"_id":"639106816ef0d52d4000f10e","companyCode":"testqamx","invoiceType":"E","pointOfSale":"tqi1","lastDocumentNumber":12},{"_id":"639106816ef0d52d4000f10b","companyCode":"testqamx","invoiceType":"I","pointOfSale":"tqi1","lastDocumentNumber":75}]}
2022-12-23T18:44:15.769Z | [3gowyjekjrlc0v3aiy] request.body -->> {"companyCode":"testqamx","pointOfSale":"ti1"}
2022-12-23T18:44:15.769Z | [3gowyjekjrlc0v3aiy] loqueRequest authResponseDateStart: 2022-12-23 15:44:15.761
2022-12-23T18:44:15.770Z | [3gowyjekjrlc0v3aiy] <------------ New Request /api/v1/getOperationNumbers ----------->
2022-12-23T18:44:15.771Z | [3gowyjekjrlc0v3aiy] response.body -->> {"ack":0,"message":"OK","operationNumbers":[{"_id":"639107316ef0d52d4000f278","companyCode":"testqamx","invoiceType":"E","pointOfSale":"ti1","lastDocumentNumber":15},{"_id":"639107316ef0d52d4000f275","companyCode":"testqamx","invoiceType":"I","pointOfSale":"ti1","lastDocumentNumber":56}]}
2022-12-23T18:44:15.838Z | [q1874fawz5lc0v3aky] loqueRequest authResponseDateStart: 2022-12-23 15:44:15.830
2022-12-23T18:44:15.839Z | [q1874fawz5lc0v3aky] <------------ New Request /api/v1/getOperationNumbers ----------->
2022-12-23T18:44:15.839Z | [q1874fawz5lc0v3aky] request.body -->> {"companyCode":"testqamx","pointOfSale":"sii1"}
2022-12-23T18:44:15.845Z | [q1874fawz5lc0v3aky] response.body -->> {"ack":0,"message":"OK","operationNumbers":[{"_id":"63a4bf873ab9e3b2b9e10bad","companyCode":"testqamx","invoiceType":"E","pointOfSale":"sii1","lastDocumentNumber":0},{"_id":"63a4bf873ab9e3b2b9e10baa","companyCode":"testqamx","invoiceType":"I","pointOfSale":"sii1","lastDocumentNumber":8}]}
2022-12-23T18:44:15.917Z | [2qn4a1ss1clc0v3an5] <------------ New Request /api/v1/getOperationNumbers ----------->
2022-12-23T18:44:15.918Z | [2qn4a1ss1clc0v3an5] loqueRequest authResponseDateStart: 2022-12-23 15:44:15.911
2022-12-23T18:44:15.923Z | [2qn4a1ss1clc0v3an5] request.body -->> {"companyCode":"testqamx","pointOfSale":"qi1"}
2022-12-23T18:44:15.927Z | [2qn4a1ss1clc0v3an5] response.body -->> {"ack":0,"message":"OK","operationNumbers":[{"_id":"639106cb6ef0d52d4000f17a","companyCode":"testqamx","invoiceType":"E","pointOfSale":"qi1","lastDocumentNumber":3},{"_id":"639106cb6ef0d52d4000f177","companyCode":"testqamx","invoiceType":"I","pointOfSale":"qi1","lastDocumentNumber":33}]}