{"info":{"_postman_id":"0760fb11-bf3f-48d0-a108-e47b2b9d8bdc","name":"LSDA Analytics API v2.0 - Colección Completa","description":"<html><head></head><body><h1 id=\"lsda-facturacion-analytics-api-v20\">LSDA Facturación Analytics API v2.0</h1>\n<h2 id=\"descripción-general\">Descripción General</h2>\n<p>API de alto rendimiento para gestión y análisis de facturas electrónicas colombianas.</p>\n<h2 id=\"categorías-de-servicios\">Categorías de Servicios</h2>\n<ol>\n<li><p><strong>Health &amp; Documentación</strong> - Estado del sistema</p>\n</li>\n<li><p><strong>Analytics</strong> - Estadísticas y análisis</p>\n</li>\n<li><p><strong>Gestión de Facturas</strong> - CRUD de facturas</p>\n</li>\n<li><p><strong>Validación de Folios</strong> - Análisis de gaps</p>\n</li>\n<li><p><strong>Servicios Tributarios</strong> - Cumplimiento DIAN Colombia</p>\n</li>\n<li><p><strong>Análisis de Folios Avanzado</strong> - Portal web</p>\n</li>\n<li><p><strong>Exportación</strong> - Excel, PDF, CSV</p>\n</li>\n<li><p><strong>Análisis de Detalles</strong> - Líneas de facturas</p>\n</li>\n<li><p><strong>Análisis de Métodos de Pago</strong> - Pagos y transacciones</p>\n</li>\n<li><p><strong>Análisis de Productos</strong> - Inventario y marketing</p>\n</li>\n<li><p><strong>Análisis de Impuestos</strong> - Reportes tributarios</p>\n</li>\n<li><p><strong>Análisis por Terceros</strong> - Clientes/receptores</p>\n</li>\n</ol>\n<h2 id=\"base-url\">Base URL</h2>\n<p><code>https://services.ls-da.com/a2/api/v1</code></p>\n<h2 id=\"autenticación\">Autenticación</h2>\n<p>Actualmente sin autenticación requerida (desarrollo).</p>\n<h2 id=\"formato-de-respuesta\">Formato de Respuesta</h2>\n<p>Todas las respuestas incluyen:</p>\n<ul>\n<li><p><code>success</code>: boolean</p>\n</li>\n<li><p><code>data</code>: objeto/array con datos</p>\n</li>\n<li><p><code>error</code>: mensaje de error (si aplica)</p>\n</li>\n<li><p><code>timestamp</code>: fecha/hora de respuesta</p>\n</li>\n</ul>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"LSDA Facturación Analytics API v2.0","slug":"lsda-facturacion-analytics-api-v20"}],"owner":"29098510","collectionId":"0760fb11-bf3f-48d0-a108-e47b2b9d8bdc","publishedId":"2sBXVmdnx7","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2026-01-25T15:36:18.000Z"},"item":[{"name":"1. Health & Documentación","item":[{"name":"Health Check","id":"9a17e961-dd0d-48f5-b65c-38180035a525","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://services.ls-da.com/health","description":"<h2 id=\"health-check\">Health Check</h2>\n<p>Verifica el estado de salud del sistema y la conexión a la base de datos.</p>\n<h3 id=\"respuesta-exitosa\">Respuesta Exitosa</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"status\": \"healthy\",\n  \"database\": \"connected\",\n  \"record_count\": 91500000,\n  \"timestamp\": \"2025-01-25T10:00:00Z\",\n  \"version\": \"2.0\",\n  \"architecture\": \"modular\"\n}\n</code></pre>\n<h3 id=\"respuesta-en-modo-test\">Respuesta en Modo Test</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"status\": \"TEST MODE\",\n  \"database\": \"disconnected\",\n  \"message\": \"API running in test mode\"\n}\n</code></pre>\n","urlObject":{"path":["health"],"host":["https://services.ls-da.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"9a17e961-dd0d-48f5-b65c-38180035a525"},{"name":"Documentación HTML","id":"b914d519-823f-496e-a5f1-15751003d4c8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://services.ls-da.com/docs","description":"<h2 id=\"documentación-del-api\">Documentación del API</h2>\n<p>Retorna una página HTML con la documentación interactiva de todos los endpoints disponibles.</p>\n<h3 id=\"contenido\">Contenido</h3>\n<ul>\n<li>Lista de endpoints por categoría</li>\n<li>Información de conexión a base de datos</li>\n<li>Versión del sistema</li>\n</ul>\n","urlObject":{"path":["docs"],"host":["https://services.ls-da.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"b914d519-823f-496e-a5f1-15751003d4c8"}],"id":"100bd94c-8763-4b28-ba23-f9abdb9bf2b4","description":"<p>Endpoints para verificar el estado del sistema y acceder a la documentación.</p>\n","_postman_id":"100bd94c-8763-4b28-ba23-f9abdb9bf2b4"},{"name":"2. Analytics - Estadísticas","item":[{"name":"Estadísticas Anuales","id":"e70efaa9-cd72-4685-a662-cdd3f0cbb419","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://services.ls-da.com/a2/api/v1/analytics/yearly?nitemisor=900328834&year=2025","description":"<h2 id=\"estadísticas-anuales\">Estadísticas Anuales</h2>\n<p>Obtiene estadísticas agregadas por año.</p>\n<h3 id=\"parámetros\">Parámetros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parámetro</th>\n<th>Tipo</th>\n<th>Requerido</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>nitemisor</td>\n<td>string</td>\n<td>Sí</td>\n<td>NIT del emisor</td>\n</tr>\n<tr>\n<td>year</td>\n<td>int</td>\n<td>No</td>\n<td>Año específico (2020-2030)</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"respuesta\">Respuesta</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"data\": [\n    {\n      \"year\": 2025,\n      \"total_facturas\": 150000,\n      \"total_valor\": 5000000000,\n      \"promedio_factura\": 33333.33\n    }\n  ]\n}\n</code></pre>\n","urlObject":{"path":["a2","api","v1","analytics","yearly"],"host":["https://services.ls-da.com"],"query":[{"description":{"content":"<p>NIT del emisor (requerido)</p>\n","type":"text/plain"},"key":"nitemisor","value":"900328834"},{"description":{"content":"<p>Año a consultar (opcional)</p>\n","type":"text/plain"},"key":"year","value":"2025"}],"variable":[]}},"response":[],"_postman_id":"e70efaa9-cd72-4685-a662-cdd3f0cbb419"},{"name":"Estadísticas Mensuales","id":"1a3b5108-dad7-4fa6-b176-4f9611eb9178","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://services.ls-da.com/a2/api/v1/analytics/monthly?nitemisor=900328834&year=2025","description":"<h2 id=\"estadísticas-mensuales\">Estadísticas Mensuales</h2>\n<p>Obtiene estadísticas desglosadas por mes.</p>\n<h3 id=\"parámetros\">Parámetros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parámetro</th>\n<th>Tipo</th>\n<th>Requerido</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>nitemisor</td>\n<td>string</td>\n<td>Sí</td>\n<td>NIT del emisor</td>\n</tr>\n<tr>\n<td>year</td>\n<td>int</td>\n<td>No</td>\n<td>Año específico</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"respuesta\">Respuesta</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"data\": [\n    {\n      \"month\": 1,\n      \"month_name\": \"Enero\",\n      \"total_facturas\": 12500,\n      \"total_valor\": 416666666\n    }\n  ]\n}\n</code></pre>\n","urlObject":{"path":["a2","api","v1","analytics","monthly"],"host":["https://services.ls-da.com"],"query":[{"description":{"content":"<p>NIT del emisor (requerido)</p>\n","type":"text/plain"},"key":"nitemisor","value":"900328834"},{"description":{"content":"<p>Año a consultar (opcional)</p>\n","type":"text/plain"},"key":"year","value":"2025"}],"variable":[]}},"response":[],"_postman_id":"1a3b5108-dad7-4fa6-b176-4f9611eb9178"},{"name":"Analytics por Sucursales","id":"0cab58b5-7092-4902-b69c-37e79e15bae0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://services.ls-da.com/a2/api/v1/analytics/sucursales?nitemisor=900328834&year=2025","description":"<h2 id=\"analytics-por-sucursales\">Analytics por Sucursales</h2>\n<p>Análisis de facturación agrupado por sucursal.</p>\n<h3 id=\"parámetros\">Parámetros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parámetro</th>\n<th>Tipo</th>\n<th>Requerido</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>nitemisor</td>\n<td>string</td>\n<td>Sí</td>\n<td>NIT del emisor</td>\n</tr>\n<tr>\n<td>year</td>\n<td>int</td>\n<td>Condicional</td>\n<td>Año completo</td>\n</tr>\n<tr>\n<td>fecha_inicio</td>\n<td>date</td>\n<td>Condicional</td>\n<td>Inicio del período</td>\n</tr>\n<tr>\n<td>fecha_fin</td>\n<td>date</td>\n<td>Condicional</td>\n<td>Fin del período</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Nota</strong>: Usar <code>year</code> O <code>fecha_inicio</code> + <code>fecha_fin</code></p>\n<h3 id=\"respuesta\">Respuesta</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"message\": \"Análisis de sucursales completado\",\n  \"total_sucursales\": 5,\n  \"total_importe\": 1500000000,\n  \"total_documentos\": 50000,\n  \"data\": [\n    {\n      \"sucursal\": \"SUCURSAL PRINCIPAL\",\n      \"importe\": 500000000,\n      \"documentos\": 15000\n    }\n  ]\n}\n</code></pre>\n","urlObject":{"path":["a2","api","v1","analytics","sucursales"],"host":["https://services.ls-da.com"],"query":[{"description":{"content":"<p>NIT del emisor (requerido)</p>\n","type":"text/plain"},"key":"nitemisor","value":"900328834"},{"description":{"content":"<p>Año (alternativo a fechas)</p>\n","type":"text/plain"},"key":"year","value":"2025"},{"disabled":true,"description":{"content":"<p>Fecha inicio YYYY-MM-DD</p>\n","type":"text/plain"},"key":"fecha_inicio","value":"2025-01-01"},{"disabled":true,"description":{"content":"<p>Fecha fin YYYY-MM-DD</p>\n","type":"text/plain"},"key":"fecha_fin","value":"2025-01-31"}],"variable":[]}},"response":[],"_postman_id":"0cab58b5-7092-4902-b69c-37e79e15bae0"},{"name":"Top 10 Clientes","id":"53a22cd3-b75c-4bba-a301-e9fd2036042d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://services.ls-da.com/a2/api/v1/analytics/top-clientes?nitemisor=900328834&year=2025","description":"<h2 id=\"top-10-clientes\">Top 10 Clientes</h2>\n<p>Obtiene los 10 clientes con mayor facturación.</p>\n<h3 id=\"parámetros\">Parámetros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parámetro</th>\n<th>Tipo</th>\n<th>Requerido</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>nitemisor</td>\n<td>string</td>\n<td>Sí</td>\n<td>NIT del emisor</td>\n</tr>\n<tr>\n<td>year</td>\n<td>int</td>\n<td>Condicional</td>\n<td>Año</td>\n</tr>\n<tr>\n<td>fecha_inicio</td>\n<td>date</td>\n<td>Condicional</td>\n<td>Fecha inicio</td>\n</tr>\n<tr>\n<td>fecha_fin</td>\n<td>date</td>\n<td>Condicional</td>\n<td>Fecha fin</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"respuesta\">Respuesta</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"total_clientes\": 10,\n  \"total_importe\": 800000000,\n  \"data\": [\n    {\n      \"nit_receptor\": \"800123456\",\n      \"nombre_receptor\": \"CLIENTE PRINCIPAL\",\n      \"importe\": 150000000,\n      \"facturas\": 500\n    }\n  ]\n}\n</code></pre>\n","urlObject":{"path":["a2","api","v1","analytics","top-clientes"],"host":["https://services.ls-da.com"],"query":[{"key":"nitemisor","value":"900328834"},{"key":"year","value":"2025"}],"variable":[]}},"response":[],"_postman_id":"53a22cd3-b75c-4bba-a301-e9fd2036042d"},{"name":"Dashboard Ejecutivo","id":"5457cf58-0b84-415a-a5da-e8d6556d7623","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://services.ls-da.com/a2/api/v1/analytics/dashboard?nitemisor=900328834&year=2025","description":"<h2 id=\"dashboard-ejecutivo\">Dashboard Ejecutivo</h2>\n<p>Panel completo con métricas estratégicas consolidadas.</p>\n<h3 id=\"parámetros\">Parámetros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parámetro</th>\n<th>Tipo</th>\n<th>Requerido</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>nitemisor</td>\n<td>string</td>\n<td>Sí</td>\n<td>NIT del emisor</td>\n</tr>\n<tr>\n<td>year</td>\n<td>int</td>\n<td>Condicional</td>\n<td>Año</td>\n</tr>\n<tr>\n<td>fecha_inicio</td>\n<td>date</td>\n<td>Condicional</td>\n<td>Fecha inicio</td>\n</tr>\n<tr>\n<td>fecha_fin</td>\n<td>date</td>\n<td>Condicional</td>\n<td>Fecha fin</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"respuesta\">Respuesta</h3>\n<p>Incluye:</p>\n<ul>\n<li>Resumen general (total facturas, valor, promedios)</li>\n<li>Análisis por sucursal</li>\n<li>Top clientes</li>\n<li>Tendencias mensuales</li>\n<li>Indicadores de crecimiento</li>\n</ul>\n","urlObject":{"path":["a2","api","v1","analytics","dashboard"],"host":["https://services.ls-da.com"],"query":[{"key":"nitemisor","value":"900328834"},{"key":"year","value":"2025"}],"variable":[]}},"response":[],"_postman_id":"5457cf58-0b84-415a-a5da-e8d6556d7623"},{"name":"Comparativo Diario","id":"4d620150-bd66-4b38-b02f-0ace3d935a44","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://services.ls-da.com/a2/api/v1/analytics/comparativo-diario?nitemisor=900328834&year=2025","description":"<h2 id=\"comparativo-diario\">Comparativo Diario</h2>\n<p>Compara facturación del mes actual vs mes anterior día a día.</p>\n<h3 id=\"parámetros\">Parámetros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parámetro</th>\n<th>Tipo</th>\n<th>Requerido</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>nitemisor</td>\n<td>string</td>\n<td>Sí</td>\n<td>NIT del emisor</td>\n</tr>\n<tr>\n<td>year</td>\n<td>int</td>\n<td>Sí</td>\n<td>Año de análisis</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"respuesta\">Respuesta</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"mes_actual\": \"Enero\",\n  \"mes_anterior\": \"Diciembre\",\n  \"variacion_total\": \"+15.5%\",\n  \"data\": [\n    {\n      \"dia\": 1,\n      \"facturacion_actual\": 5000000,\n      \"facturacion_anterior\": 4500000,\n      \"variacion\": \"+11.1%\"\n    }\n  ]\n}\n</code></pre>\n","urlObject":{"path":["a2","api","v1","analytics","comparativo-diario"],"host":["https://services.ls-da.com"],"query":[{"key":"nitemisor","value":"900328834"},{"key":"year","value":"2025"}],"variable":[]}},"response":[],"_postman_id":"4d620150-bd66-4b38-b02f-0ace3d935a44"},{"name":"Predicciones","id":"d7a0e769-b811-42ef-9005-e15b31794038","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://services.ls-da.com/a2/api/v1/analytics/predicciones?nitemisor=900328834&year=2025","description":"<h2 id=\"predicciones\">Predicciones</h2>\n<p>Genera predicciones de facturación basadas en datos históricos.</p>\n<h3 id=\"parámetros\">Parámetros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parámetro</th>\n<th>Tipo</th>\n<th>Requerido</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>nitemisor</td>\n<td>string</td>\n<td>Sí</td>\n<td>NIT del emisor</td>\n</tr>\n<tr>\n<td>year</td>\n<td>int</td>\n<td>Sí</td>\n<td>Año base para predicción</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"respuesta\">Respuesta</h3>\n<p>Incluye:</p>\n<ul>\n<li>Proyección mensual</li>\n<li>Tendencia esperada</li>\n<li>Factores de estacionalidad</li>\n<li>Intervalos de confianza</li>\n</ul>\n","urlObject":{"path":["a2","api","v1","analytics","predicciones"],"host":["https://services.ls-da.com"],"query":[{"key":"nitemisor","value":"900328834"},{"key":"year","value":"2025"}],"variable":[]}},"response":[],"_postman_id":"d7a0e769-b811-42ef-9005-e15b31794038"},{"name":"Tipos de Documento","id":"2a853c1b-f6a8-4d79-9635-3e52a7506d6a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://services.ls-da.com/a2/api/v1/analytics/tipos-documento?nitemisor=900328834&year=2025","description":"<h2 id=\"análisis-por-tipos-de-documento\">Análisis por Tipos de Documento</h2>\n<p>Desglose por tipo de comprobante DIAN:</p>\n<ul>\n<li>01: Factura electrónica</li>\n<li>03: Factura de contingencia</li>\n<li>91: Nota de crédito</li>\n<li>92: Nota de débito</li>\n</ul>\n<h3 id=\"parámetros\">Parámetros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parámetro</th>\n<th>Tipo</th>\n<th>Requerido</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>nitemisor</td>\n<td>string</td>\n<td>Sí</td>\n<td>NIT del emisor</td>\n</tr>\n<tr>\n<td>year</td>\n<td>int</td>\n<td>Sí</td>\n<td>Año de análisis</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"respuesta\">Respuesta</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"data\": [\n    {\n      \"tipo_comprobante\": \"01\",\n      \"descripcion\": \"Factura Electrónica\",\n      \"cantidad\": 45000,\n      \"valor_total\": 1500000000\n    }\n  ]\n}\n</code></pre>\n","urlObject":{"path":["a2","api","v1","analytics","tipos-documento"],"host":["https://services.ls-da.com"],"query":[{"key":"nitemisor","value":"900328834"},{"key":"year","value":"2025"}],"variable":[]}},"response":[],"_postman_id":"2a853c1b-f6a8-4d79-9635-3e52a7506d6a"},{"name":"Dashboard con Tipos de Documento","id":"2f00f802-215f-4e65-8037-22dc3c1a7ccd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://services.ls-da.com/a2/api/v1/analytics/dashboard-con-tipos?nitemisor=900328834&year=2025","description":"<h2 id=\"dashboard-con-análisis-por-tipos\">Dashboard con Análisis por Tipos</h2>\n<p>Dashboard ejecutivo completo incluyendo desglose detallado por tipos de documento.</p>\n<h3 id=\"parámetros\">Parámetros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parámetro</th>\n<th>Tipo</th>\n<th>Requerido</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>nitemisor</td>\n<td>string</td>\n<td>Sí</td>\n</tr>\n<tr>\n<td>year</td>\n<td>int</td>\n<td>Sí</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["a2","api","v1","analytics","dashboard-con-tipos"],"host":["https://services.ls-da.com"],"query":[{"key":"nitemisor","value":"900328834"},{"key":"year","value":"2025"}],"variable":[]}},"response":[],"_postman_id":"2f00f802-215f-4e65-8037-22dc3c1a7ccd"},{"name":"Documentos Generados","id":"5bb34aed-4e0d-4319-bfe9-87d6a8c76da8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://services.ls-da.com/a2/api/v1/analytics/documentos-generados?nitemisor=900328834&year=2025&mes=1","description":"<h2 id=\"documentos-generados\">Documentos Generados</h2>\n<p>Reporte de documentos generados comparando período específico vs acumulado.</p>\n<h3 id=\"parámetros\">Parámetros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parámetro</th>\n<th>Tipo</th>\n<th>Requerido</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>nitemisor</td>\n<td>string</td>\n<td>Sí</td>\n<td>NIT del emisor</td>\n</tr>\n<tr>\n<td>year</td>\n<td>int</td>\n<td>Sí</td>\n<td>Año (2020-2030)</td>\n</tr>\n<tr>\n<td>mes</td>\n<td>int</td>\n<td>Sí</td>\n<td>Mes (1-12)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["a2","api","v1","analytics","documentos-generados"],"host":["https://services.ls-da.com"],"query":[{"key":"nitemisor","value":"900328834"},{"key":"year","value":"2025"},{"description":{"content":"<p>Mes a consultar (1-12)</p>\n","type":"text/plain"},"key":"mes","value":"1"}],"variable":[]}},"response":[],"_postman_id":"5bb34aed-4e0d-4319-bfe9-87d6a8c76da8"},{"name":"Indicadores Generales","id":"ff50b889-9938-483f-a4d7-4e05fa24ab65","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://services.ls-da.com/a2/api/v1/analytics/indicadores-generales?nitemisor=900328834&year=2025&mes=12","description":"<h2 id=\"indicadores-generales-mensuales\">Indicadores Generales Mensuales</h2>\n<p>Indicadores desde enero hasta el mes especificado.</p>\n<h3 id=\"parámetros\">Parámetros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parámetro</th>\n<th>Tipo</th>\n<th>Requerido</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>nitemisor</td>\n<td>string</td>\n<td>Sí</td>\n<td>NIT del emisor</td>\n</tr>\n<tr>\n<td>year</td>\n<td>int</td>\n<td>Sí</td>\n<td>Año</td>\n</tr>\n<tr>\n<td>mes</td>\n<td>int</td>\n<td>Sí</td>\n<td>Mes límite (1-12)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["a2","api","v1","analytics","indicadores-generales"],"host":["https://services.ls-da.com"],"query":[{"key":"nitemisor","value":"900328834"},{"key":"year","value":"2025"},{"description":{"content":"<p>Mes hasta el cual calcular (1-12)</p>\n","type":"text/plain"},"key":"mes","value":"12"}],"variable":[]}},"response":[],"_postman_id":"ff50b889-9938-483f-a4d7-4e05fa24ab65"},{"name":"Sucursales y Prefijos","id":"c2b2054b-9e7e-4022-a091-de91b594701c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://services.ls-da.com/a2/api/v1/analytics/sucursales-prefijos?nitemisor=900328834&year=2025","description":"<h2 id=\"sucursales-y-prefijos\">Sucursales y Prefijos</h2>\n<p>Agrupa por sucursal mostrando los prefijos de cada una.</p>\n<h3 id=\"parámetros\">Parámetros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parámetro</th>\n<th>Tipo</th>\n<th>Requerido</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>nitemisor</td>\n<td>string</td>\n<td>Sí</td>\n<td>NIT del emisor</td>\n</tr>\n<tr>\n<td>year</td>\n<td>int</td>\n<td>No</td>\n<td>Filtrar por año</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["a2","api","v1","analytics","sucursales-prefijos"],"host":["https://services.ls-da.com"],"query":[{"key":"nitemisor","value":"900328834"},{"description":{"content":"<p>Año (opcional)</p>\n","type":"text/plain"},"key":"year","value":"2025"}],"variable":[]}},"response":[],"_postman_id":"c2b2054b-9e7e-4022-a091-de91b594701c"},{"name":"Estructura Organizacional","id":"3493097c-56d1-4cd4-a6ec-e9d61d7a1cf0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://services.ls-da.com/a2/api/v1/analytics/estructura-organizacional?nitemisor=900328834","description":"<h2 id=\"estructura-organizacional\">Estructura Organizacional</h2>\n<p>Muestra estructura jerárquica: NIT &gt; Sucursal &gt; Prefijos.</p>\n<h3 id=\"parámetros\">Parámetros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parámetro</th>\n<th>Tipo</th>\n<th>Requerido</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>nitemisor</td>\n<td>string</td>\n<td>Sí</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["a2","api","v1","analytics","estructura-organizacional"],"host":["https://services.ls-da.com"],"query":[{"key":"nitemisor","value":"900328834"}],"variable":[]}},"response":[],"_postman_id":"3493097c-56d1-4cd4-a6ec-e9d61d7a1cf0"},{"name":"Ventas por Sucursal (Desglose Diario)","id":"8a9b5f4a-4bba-49c7-8243-1b97e9fcebb4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://services.ls-da.com/a2/api/v1/analytics/ventas-sucursal?nitemisor=900328834&year=2025&month=1","description":"<h2 id=\"ventas-por-sucursal-con-desglose-diario\">Ventas por Sucursal con Desglose Diario</h2>\n<p>Reporte de ventas con detalle día a día.</p>\n<h3 id=\"parámetros\">Parámetros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parámetro</th>\n<th>Tipo</th>\n<th>Requerido</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>nitemisor</td>\n<td>string</td>\n<td>Sí</td>\n<td>NIT del emisor</td>\n</tr>\n<tr>\n<td>year</td>\n<td>int</td>\n<td>Condicional</td>\n<td>Año (2020-2030)</td>\n</tr>\n<tr>\n<td>month</td>\n<td>int</td>\n<td>Condicional</td>\n<td>Mes (1-12)</td>\n</tr>\n<tr>\n<td>sucursal</td>\n<td>string</td>\n<td>No</td>\n<td>Filtrar sucursal específica</td>\n</tr>\n<tr>\n<td>fecha_inicio</td>\n<td>date</td>\n<td>Condicional</td>\n<td>Alternativa a year/month</td>\n</tr>\n<tr>\n<td>fecha_fin</td>\n<td>date</td>\n<td>Condicional</td>\n<td>Alternativa a year/month</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"respuesta\">Respuesta</h3>\n<p>Incluye URLs de exportación a Excel y PDF.</p>\n","urlObject":{"path":["a2","api","v1","analytics","ventas-sucursal"],"host":["https://services.ls-da.com"],"query":[{"key":"nitemisor","value":"900328834"},{"key":"year","value":"2025"},{"key":"month","value":"1"},{"disabled":true,"description":{"content":"<p>Filtrar por sucursal específica</p>\n","type":"text/plain"},"key":"sucursal","value":"PRINCIPAL"},{"disabled":true,"description":{"content":"<p>Alternativa a year/month</p>\n","type":"text/plain"},"key":"fecha_inicio","value":"2025-01-01"},{"disabled":true,"key":"fecha_fin","value":"2025-01-31"}],"variable":[]}},"response":[],"_postman_id":"8a9b5f4a-4bba-49c7-8243-1b97e9fcebb4"},{"name":"Ventas por Sucursal v2 (FechaGeneracion)","id":"246ac41b-6a2c-47dc-863d-01f3199ae32d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://services.ls-da.com/a2/api/v1/analytics/ventas-sucursal2?nitemisor=900328834&year=2025&month=1","description":"<h2 id=\"ventas-por-sucursal-v2\">Ventas por Sucursal v2</h2>\n<p>Versione alternativa usando campo <code>fechageneracion</code> en lugar de <code>fecha</code>.</p>\n<h3 id=\"parámetros\">Parámetros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parámetro</th>\n<th>Tipo</th>\n<th>Requerido</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>nitemisor</td>\n<td>string</td>\n<td>Sí</td>\n</tr>\n<tr>\n<td>year</td>\n<td>int</td>\n<td>Sí</td>\n</tr>\n<tr>\n<td>month</td>\n<td>int</td>\n<td>Sí</td>\n</tr>\n<tr>\n<td>sucursal</td>\n<td>string</td>\n<td>No</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["a2","api","v1","analytics","ventas-sucursal2"],"host":["https://services.ls-da.com"],"query":[{"key":"nitemisor","value":"900328834"},{"key":"year","value":"2025"},{"key":"month","value":"1"}],"variable":[]}},"response":[],"_postman_id":"246ac41b-6a2c-47dc-863d-01f3199ae32d"}],"id":"4c7a5753-d8b8-4410-b1b3-1750b726effa","description":"<p>Servicios de análisis estadístico de facturación.</p>\n","_postman_id":"4c7a5753-d8b8-4410-b1b3-1750b726effa"},{"name":"3. Gestión de Facturas","item":[{"name":"Listar Facturas (Paginado)","id":"9cd9c13f-1490-4f92-bd90-84249a07615a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://services.ls-da.com/a2/api/v1/facturas?nitemisor=900328834&page=1&page_size=50","description":"<h2 id=\"listar-facturas-con-paginación\">Listar Facturas con Paginación</h2>\n<p>Obtiene facturas con filtros avanzados y paginación.</p>\n<h3 id=\"parámetros-de-paginación\">Parámetros de Paginación</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parámetro</th>\n<th>Tipo</th>\n<th>Default</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>page</td>\n<td>int</td>\n<td>1</td>\n<td>Número de página</td>\n</tr>\n<tr>\n<td>page_size</td>\n<td>int</td>\n<td>50</td>\n<td>Registros por página (max 1000)</td>\n</tr>\n<tr>\n<td>limit</td>\n<td>int</td>\n<td>100</td>\n<td>Modo legacy sin paginación</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"filtros-disponibles\">Filtros Disponibles</h3>\n<ul>\n<li>nitemisor, nitreceptor</li>\n<li>sucursal, prefijo</li>\n<li>fecha_inicio, fecha_fin</li>\n<li>tipo_documento</li>\n<li>cufe, factura</li>\n<li>folio_min, folio_max</li>\n<li>year</li>\n<li>incluir_correos (join con Postmark)</li>\n</ul>\n<h3 id=\"respuesta-paginada\">Respuesta Paginada</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"pagination\": {\n    \"current_page\": 1,\n    \"page_size\": 50,\n    \"total_records\": 15000,\n    \"total_pages\": 300,\n    \"has_next\": true,\n    \"has_previous\": false,\n    \"next_page\": \"url\",\n    \"previous_page\": null\n  },\n  \"data\": [...]\n}\n</code></pre>\n","urlObject":{"path":["a2","api","v1","facturas"],"host":["https://services.ls-da.com"],"query":[{"description":{"content":"<p>NIT del emisor</p>\n","type":"text/plain"},"key":"nitemisor","value":"900328834"},{"description":{"content":"<p>Página (activa paginación)</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>Registros por página (max 1000)</p>\n","type":"text/plain"},"key":"page_size","value":"50"},{"disabled":true,"description":{"content":"<p>Filtrar por NIT receptor</p>\n","type":"text/plain"},"key":"nitreceptor","value":""},{"disabled":true,"description":{"content":"<p>Filtrar por sucursal</p>\n","type":"text/plain"},"key":"sucursal","value":""},{"disabled":true,"description":{"content":"<p>Filtrar por prefijo</p>\n","type":"text/plain"},"key":"prefijo","value":""},{"disabled":true,"description":{"content":"<p>Fecha inicio YYYY-MM-DD</p>\n","type":"text/plain"},"key":"fecha_inicio","value":""},{"disabled":true,"description":{"content":"<p>Fecha fin YYYY-MM-DD</p>\n","type":"text/plain"},"key":"fecha_fin","value":""},{"disabled":true,"description":{"content":"<p>Tipo: 01, 03, 91, 92</p>\n","type":"text/plain"},"key":"tipo_documento","value":""},{"disabled":true,"description":{"content":"<p>CUFE específico</p>\n","type":"text/plain"},"key":"cufe","value":""},{"disabled":true,"description":{"content":"<p>Número de factura</p>\n","type":"text/plain"},"key":"factura","value":""},{"disabled":true,"description":{"content":"<p>Folio mínimo</p>\n","type":"text/plain"},"key":"folio_min","value":""},{"disabled":true,"description":{"content":"<p>Folio máximo</p>\n","type":"text/plain"},"key":"folio_max","value":""},{"disabled":true,"description":{"content":"<p>Incluir eventos de email</p>\n","type":"text/plain"},"key":"incluir_correos","value":"true"}],"variable":[]}},"response":[],"_postman_id":"9cd9c13f-1490-4f92-bd90-84249a07615a"},{"name":"Obtener Factura por CUFE","id":"223d5a6a-498a-47c8-ab44-3318fa146e11","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://services.ls-da.com/a2/api/v1/facturas/:cufe","description":"<h2 id=\"obtener-factura-por-cufe\">Obtener Factura por CUFE</h2>\n<p>Obtiene una factura específica por su identificador único CUFE.</p>\n<h3 id=\"parámetros-de-ruta\">Parámetros de Ruta</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parámetro</th>\n<th>Tipo</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>cufe</td>\n<td>string</td>\n<td>CUFE único de la factura</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"respuesta\">Respuesta</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"data\": {\n    \"cufe\": \"abc123...\",\n    \"prefijo\": \"FE\",\n    \"folio\": 12345,\n    \"nitemisor\": \"900328834\",\n    \"nombreemisor\": \"EMPRESA S.A.S.\",\n    \"nitreceptor\": \"800123456\",\n    \"nombrereceptor\": \"CLIENTE\",\n    \"fecha\": \"2025-01-25\",\n    \"subtotal\": 1000000,\n    \"iva19\": 190000,\n    \"total\": 1190000\n  }\n}\n</code></pre>\n","urlObject":{"path":["a2","api","v1","facturas",":cufe"],"host":["https://services.ls-da.com"],"query":[],"variable":[{"id":"edb6f3cf-c5f6-42e9-9b33-ed9e609175c3","description":{"content":"<p>CUFE único de la factura</p>\n","type":"text/plain"},"type":"any","value":"abc123-uuid-cufe-example","key":"cufe"}]}},"response":[],"_postman_id":"223d5a6a-498a-47c8-ab44-3318fa146e11"},{"name":"Obtener Detalles de Factura por CUFE","id":"04e9a532-917c-42fa-aed4-5ade6d8834e4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://services.ls-da.com/a2/api/v1/facturas/:cufe/detalles","description":"<h2 id=\"obtener-detalles-de-factura\">Obtener Detalles de Factura</h2>\n<p>Obtiene solo las líneas de detalle de una factura.</p>\n<h3 id=\"respuesta\">Respuesta</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"count\": 5,\n  \"data\": [\n    {\n      \"linea\": 1,\n      \"codigo\": \"PROD001\",\n      \"descripcion\": \"Producto ABC\",\n      \"cantidad\": 10,\n      \"precio_unitario\": 50000,\n      \"subtotal\": 500000,\n      \"impuesto_tipo\": \"IVA\",\n      \"impuesto_tasa\": 19,\n      \"impuesto_valor\": 95000\n    }\n  ]\n}\n</code></pre>\n","urlObject":{"path":["a2","api","v1","facturas",":cufe","detalles"],"host":["https://services.ls-da.com"],"query":[],"variable":[{"id":"df13d436-3d0f-41e6-a344-04316cf3eabf","type":"any","value":"abc123-uuid-cufe-example","key":"cufe"}]}},"response":[],"_postman_id":"04e9a532-917c-42fa-aed4-5ade6d8834e4"},{"name":"Obtener Factura Completa por CUFE","id":"dcfc2329-11ad-45e1-9c05-6cc25154d9c0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://services.ls-da.com/a2/api/v1/facturas/:cufe/completa","description":"<h2 id=\"factura-completa-con-todos-los-detalles\">Factura Completa con Todos los Detalles</h2>\n<p>Obtiene factura con:</p>\n<ul>\n<li>Encabezado completo</li>\n<li>Líneas de detalle</li>\n<li>Métodos de pago</li>\n<li>Cargos adicionales</li>\n</ul>\n<h3 id=\"respuesta\">Respuesta</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"data\": {\n    \"encabezado\": {...},\n    \"detalles\": [...],\n    \"metodos_pago\": [...],\n    \"cargos\": [...]\n  },\n  \"duration\": \"125ms\"\n}\n</code></pre>\n","urlObject":{"path":["a2","api","v1","facturas",":cufe","completa"],"host":["https://services.ls-da.com"],"query":[],"variable":[{"id":"7091d0bf-18f9-40fa-8093-e84be8e3b691","type":"any","value":"abc123-uuid-cufe-example","key":"cufe"}]}},"response":[],"_postman_id":"dcfc2329-11ad-45e1-9c05-6cc25154d9c0"},{"name":"Debug CUFE (Temporal)","id":"7e3eb5a0-b17a-469b-95c9-758b4fa83820","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://services.ls-da.com/a2/api/v1/facturas/:cufe/debug","description":"<h2 id=\"debug-cufe\">Debug CUFE</h2>\n<p>Endpoint temporal para debugging de búsqueda por CUFE.</p>\n<p><strong>Nota</strong>: Solo para desarrollo.</p>\n","urlObject":{"path":["a2","api","v1","facturas",":cufe","debug"],"host":["https://services.ls-da.com"],"query":[],"variable":[{"id":"624a7a31-28f6-4465-bed7-4fb577d432d2","type":"any","value":"abc123-uuid-cufe-example","key":"cufe"}]}},"response":[],"_postman_id":"7e3eb5a0-b17a-469b-95c9-758b4fa83820"},{"name":"Diagnóstico de Inserción","id":"25fe852e-9483-4849-8c44-999df536d35e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://services.ls-da.com/a2/api/v1/diagnostico/insercion?nitemisor=900328834&limite=50","description":"<h2 id=\"diagnóstico-de-inserción\">Diagnóstico de Inserción</h2>\n<p>Diagnostica el estado de inserción de facturas.</p>\n<h3 id=\"parámetros\">Parámetros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parámetro</th>\n<th>Tipo</th>\n<th>Requerido</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>nitemisor</td>\n<td>string</td>\n<td>No</td>\n<td>Filtrar por NIT</td>\n</tr>\n<tr>\n<td>prefijo</td>\n<td>string</td>\n<td>No</td>\n<td>Filtrar por prefijo</td>\n</tr>\n<tr>\n<td>limite</td>\n<td>int</td>\n<td>No</td>\n<td>Número de grupos (default: 100)</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"respuesta\">Respuesta</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"diagnosticos\": [\n    {\n      \"nitemisor\": \"900328834\",\n      \"prefijo\": \"FE\",\n      \"total_facturas\": 15000,\n      \"folio_minimo\": 1,\n      \"folio_maximo\": 15500,\n      \"fecha_mas_antigua\": \"2024-01-01\",\n      \"fecha_mas_reciente\": \"2025-01-25\",\n      \"valor_total\": 5000000000\n    }\n  ],\n  \"total_grupos\": 5\n}\n</code></pre>\n","urlObject":{"path":["a2","api","v1","diagnostico","insercion"],"host":["https://services.ls-da.com"],"query":[{"key":"nitemisor","value":"900328834"},{"disabled":true,"key":"prefijo","value":"FE"},{"key":"limite","value":"50"}],"variable":[]}},"response":[],"_postman_id":"25fe852e-9483-4849-8c44-999df536d35e"}],"id":"9da685dc-fea3-41f7-955b-b1a95fde21da","description":"<p>CRUD completo de facturas electrónicas.</p>\n","_postman_id":"9da685dc-fea3-41f7-955b-b1a95fde21da"},{"name":"4. Validación de Folios","item":[{"name":"Validar Folios (Gaps)","id":"67b45a6c-a13d-4c0e-96ac-ac80a7460e33","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://services.ls-da.com/a2/api/v1/validate/folios?nitemisor=900328834&prefijo=FE","description":"<h2 id=\"validar-folios\">Validar Folios</h2>\n<p>Detecta gaps (saltos) en la numeración de folios.</p>\n<h3 id=\"parámetros-requeridos\">Parámetros (Requeridos)</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parámetro</th>\n<th>Tipo</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>nitemisor</td>\n<td>string</td>\n<td>NIT del emisor</td>\n</tr>\n<tr>\n<td>prefijo</td>\n<td>string</td>\n<td>Prefijo a validar</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"respuesta\">Respuesta</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"nitemisor\": \"900328834\",\n  \"prefijo\": \"FE\",\n  \"gaps\": [100, 105, 110],\n  \"total_gaps\": 3\n}\n</code></pre>\n","urlObject":{"path":["a2","api","v1","validate","folios"],"host":["https://services.ls-da.com"],"query":[{"key":"nitemisor","value":"900328834"},{"key":"prefijo","value":"FE"}],"variable":[]}},"response":[],"_postman_id":"67b45a6c-a13d-4c0e-96ac-ac80a7460e33"},{"name":"Buscar Documento","id":"510a3584-db55-43b7-bd80-1a133026ba30","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://services.ls-da.com/a2/api/v1/search/documento?nitemisor=900328834&prefijo=FE&folio=12345","description":"<h2 id=\"buscar-documento-específico\">Buscar Documento Específico</h2>\n<p>Busca un documento por NIT, prefijo y folio.</p>\n<h3 id=\"parámetros-requeridos\">Parámetros (Requeridos)</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parámetro</th>\n<th>Tipo</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>nitemisor</td>\n<td>string</td>\n<td>NIT del emisor</td>\n</tr>\n<tr>\n<td>prefijo</td>\n<td>string</td>\n<td>Prefijo</td>\n</tr>\n<tr>\n<td>folio</td>\n<td>int</td>\n<td>Número de folio</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"respuesta\">Respuesta</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"found\": true,\n  \"document\": {...},\n  \"nitemisor\": \"900328834\",\n  \"prefijo\": \"FE\",\n  \"folio\": \"12345\"\n}\n</code></pre>\n","urlObject":{"path":["a2","api","v1","search","documento"],"host":["https://services.ls-da.com"],"query":[{"key":"nitemisor","value":"900328834"},{"key":"prefijo","value":"FE"},{"key":"folio","value":"12345"}],"variable":[]}},"response":[],"_postman_id":"510a3584-db55-43b7-bd80-1a133026ba30"},{"name":"Analizar Prefijos","id":"8931b63c-9837-43c0-bc9e-f5f2fa5f269d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://services.ls-da.com/a2/api/v1/analyze/prefijos?nitemisor=900328834","description":"<h2 id=\"analizar-prefijos\">Analizar Prefijos</h2>\n<p>Obtiene análisis de todos los prefijos de un NIT.</p>\n<h3 id=\"parámetros\">Parámetros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parámetro</th>\n<th>Tipo</th>\n<th>Requerido</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>nitemisor</td>\n<td>string</td>\n<td>Sí</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"respuesta\">Respuesta</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"nitemisor\": \"900328834\",\n  \"prefixes\": [\n    {\n      \"prefijo\": \"FE\",\n      \"total_docs\": 15000,\n      \"min_folio\": 1,\n      \"max_folio\": 15500,\n      \"missing_count\": 500\n    }\n  ]\n}\n</code></pre>\n","urlObject":{"path":["a2","api","v1","analyze","prefijos"],"host":["https://services.ls-da.com"],"query":[{"key":"nitemisor","value":"900328834"}],"variable":[]}},"response":[],"_postman_id":"8931b63c-9837-43c0-bc9e-f5f2fa5f269d"},{"name":"Analizar Saltos","id":"85a79d9e-68dd-4269-86b1-afb47caca2cd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://services.ls-da.com/a2/api/v1/analyze/saltos?nitemisor=900328834","description":"<h2 id=\"analizar-saltos\">Analizar Saltos</h2>\n<p>Analiza todos los gaps en numeración para un NIT.</p>\n<h3 id=\"parámetros\">Parámetros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parámetro</th>\n<th>Tipo</th>\n<th>Requerido</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>nitemisor</td>\n<td>string</td>\n<td>Sí</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"respuesta\">Respuesta</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"nitemisor\": \"900328834\",\n  \"gaps\": [\n    {\n      \"prefijo\": \"FE\",\n      \"folio_inicio\": 100,\n      \"folio_fin\": 105,\n      \"cantidad_faltantes\": 5\n    }\n  ]\n}\n</code></pre>\n","urlObject":{"path":["a2","api","v1","analyze","saltos"],"host":["https://services.ls-da.com"],"query":[{"key":"nitemisor","value":"900328834"}],"variable":[]}},"response":[],"_postman_id":"85a79d9e-68dd-4269-86b1-afb47caca2cd"}],"id":"532a8316-4418-439b-b713-5e9630f1a052","description":"<p>Servicios para validar numeración y detectar gaps en folios.</p>\n","_postman_id":"532a8316-4418-439b-b713-5e9630f1a052"},{"name":"5. Servicios Tributarios (DIAN)","item":[{"name":"Información Exógenas","id":"9fa9de15-2ec3-4d46-80fa-5f1e822283a2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://services.ls-da.com/a2/api/v1/tributario/exogenas?nitemisor=900328834&year=2024&formato=1001","description":"<h2 id=\"información-exógena\">Información Exógena</h2>\n<p>Genera información para reportes exógenos DIAN.</p>\n<h3 id=\"parámetros\">Parámetros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parámetro</th>\n<th>Tipo</th>\n<th>Requerido</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>nitemisor</td>\n<td>string</td>\n<td>Sí</td>\n<td>NIT del emisor</td>\n</tr>\n<tr>\n<td>year</td>\n<td>int</td>\n<td>Sí</td>\n<td>Año fiscal (2020-2025)</td>\n</tr>\n<tr>\n<td>formato</td>\n<td>string</td>\n<td>No</td>\n<td>Formato DIAN (default: 1001)</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"formatos-soportados\">Formatos Soportados</h3>\n<ul>\n<li>1001: Información de pagos</li>\n<li>1006: IVA descontable</li>\n<li>1007: Ingresos recibidos</li>\n</ul>\n","urlObject":{"path":["a2","api","v1","tributario","exogenas"],"host":["https://services.ls-da.com"],"query":[{"key":"nitemisor","value":"900328834"},{"key":"year","value":"2024"},{"description":{"content":"<p>Formato DIAN (default: 1001)</p>\n","type":"text/plain"},"key":"formato","value":"1001"}],"variable":[]}},"response":[],"_postman_id":"9fa9de15-2ec3-4d46-80fa-5f1e822283a2"},{"name":"IVA Mensual","id":"85954475-f8da-4cde-be01-a063c7471ec1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://services.ls-da.com/a2/api/v1/tributario/iva-mensual?nitemisor=900328834&year=2024&month=12","description":"<h2 id=\"declaración-iva-mensual\">Declaración IVA Mensual</h2>\n<p>Genera información para declaración de IVA.</p>\n<h3 id=\"parámetros\">Parámetros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parámetro</th>\n<th>Tipo</th>\n<th>Requerido</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>nitemisor</td>\n<td>string</td>\n<td>Sí</td>\n<td>NIT del emisor</td>\n</tr>\n<tr>\n<td>year</td>\n<td>int</td>\n<td>Sí</td>\n<td>Año (2020-2025)</td>\n</tr>\n<tr>\n<td>month</td>\n<td>int</td>\n<td>Sí</td>\n<td>Mes (1-12)</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"respuesta\">Respuesta</h3>\n<p>Desglose de:</p>\n<ul>\n<li>Base gravable por tarifa</li>\n<li>IVA generado por tarifa</li>\n<li>Totales consolidados</li>\n</ul>\n","urlObject":{"path":["a2","api","v1","tributario","iva-mensual"],"host":["https://services.ls-da.com"],"query":[{"key":"nitemisor","value":"900328834"},{"key":"year","value":"2024"},{"key":"month","value":"12"}],"variable":[]}},"response":[],"_postman_id":"85954475-f8da-4cde-be01-a063c7471ec1"},{"name":"Cinta Magnética","id":"3f620194-5d67-4c36-baa6-3435f9b071fb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://services.ls-da.com/a2/api/v1/tributario/cinta-magnetica?nitemisor=900328834&year=2024&month=12&tipo=ventas","description":"<h2 id=\"cinta-magnética\">Cinta Magnética</h2>\n<p>Genera archivo de cinta magnética para reporte DIAN.</p>\n<h3 id=\"parámetros\">Parámetros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parámetro</th>\n<th>Tipo</th>\n<th>Requerido</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>nitemisor</td>\n<td>string</td>\n<td>Sí</td>\n<td>NIT del emisor</td>\n</tr>\n<tr>\n<td>year</td>\n<td>int</td>\n<td>Sí</td>\n<td>Año (2020-2025)</td>\n</tr>\n<tr>\n<td>month</td>\n<td>int</td>\n<td>Sí</td>\n<td>Mes (1-12)</td>\n</tr>\n<tr>\n<td>tipo</td>\n<td>string</td>\n<td>No</td>\n<td>Tipo: ventas (default)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["a2","api","v1","tributario","cinta-magnetica"],"host":["https://services.ls-da.com"],"query":[{"key":"nitemisor","value":"900328834"},{"key":"year","value":"2024"},{"key":"month","value":"12"},{"description":{"content":"<p>Tipo: ventas (default)</p>\n","type":"text/plain"},"key":"tipo","value":"ventas"}],"variable":[]}},"response":[],"_postman_id":"3f620194-5d67-4c36-baa6-3435f9b071fb"}],"id":"d624c3b8-bccc-466c-8250-022877ae80bd","description":"<p>Servicios de cumplimiento tributario para Colombia.</p>\n","_postman_id":"d624c3b8-bccc-466c-8250-022877ae80bd"},{"name":"6. Análisis Avanzado de Folios","item":[{"name":"Análisis Comprehensivo","id":"40af5cb3-0422-4cc5-9f5f-3834e25522f7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://services.ls-da.com/a2/api/v1/analysis/comprehensive?nitemisor=900328834","description":"<h2 id=\"análisis-comprehensivo-de-folios\">Análisis Comprehensivo de Folios</h2>\n<p>Análisis completo de todos los prefijos de un NIT.</p>\n<h3 id=\"parámetros\">Parámetros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parámetro</th>\n<th>Tipo</th>\n<th>Requerido</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>nitemisor</td>\n<td>string</td>\n<td>Sí</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"respuesta\">Respuesta</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"nitemisor\": \"900328834\",\n  \"fecha_analisis\": \"2025-01-25T10:00:00Z\",\n  \"prefijos_total\": 5,\n  \"total_gaps\": 150,\n  \"prefijos_con_gaps\": 3,\n  \"prefijos_analisis\": [\n    {\n      \"prefijo\": \"FE\",\n      \"total_facturas\": 15000,\n      \"densidad\": \"96.77%\",\n      \"total_folios_faltantes\": 500\n    }\n  ]\n}\n</code></pre>\n","urlObject":{"path":["a2","api","v1","analysis","comprehensive"],"host":["https://services.ls-da.com"],"query":[{"key":"nitemisor","value":"900328834"}],"variable":[]}},"response":[],"_postman_id":"40af5cb3-0422-4cc5-9f5f-3834e25522f7"},{"name":"Análisis Incremental","id":"685d0444-270c-4547-af5d-788bb909f676","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://services.ls-da.com/a2/api/v1/analysis/incremental?nitemisor=900328834&prefijo=FE","description":"<h2 id=\"análisis-incremental-optimizado\">Análisis Incremental Optimizado</h2>\n<p>Análisis incremental para actualizaciones rápidas.</p>\n<h3 id=\"parámetros\">Parámetros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parámetro</th>\n<th>Tipo</th>\n<th>Requerido</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>nitemisor</td>\n<td>string</td>\n<td>Sí</td>\n<td>NIT del emisor</td>\n</tr>\n<tr>\n<td>prefijo</td>\n<td>string</td>\n<td>No</td>\n<td>Prefijo específico</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["a2","api","v1","analysis","incremental"],"host":["https://services.ls-da.com"],"query":[{"key":"nitemisor","value":"900328834"},{"description":{"content":"<p>Opcional: prefijo específico</p>\n","type":"text/plain"},"key":"prefijo","value":"FE"}],"variable":[]}},"response":[],"_postman_id":"685d0444-270c-4547-af5d-788bb909f676"},{"name":"Historial de Análisis","id":"afe5760b-a57e-4dae-8b71-280426894be9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://services.ls-da.com/a2/api/v1/analysis/history?nitemisor=900328834&limit=10","description":"<h2 id=\"historial-de-análisis\">Historial de Análisis</h2>\n<p>Obtiene historial de análisis anteriores.</p>\n<h3 id=\"parámetros\">Parámetros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parámetro</th>\n<th>Tipo</th>\n<th>Requerido</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>nitemisor</td>\n<td>string</td>\n<td>Sí</td>\n<td>NIT del emisor</td>\n</tr>\n<tr>\n<td>prefijo</td>\n<td>string</td>\n<td>No</td>\n<td>Filtrar por prefijo</td>\n</tr>\n<tr>\n<td>limit</td>\n<td>int</td>\n<td>No</td>\n<td>Máximo resultados (1-100)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["a2","api","v1","analysis","history"],"host":["https://services.ls-da.com"],"query":[{"key":"nitemisor","value":"900328834"},{"disabled":true,"key":"prefijo","value":"FE"},{"key":"limit","value":"10"}],"variable":[]}},"response":[],"_postman_id":"afe5760b-a57e-4dae-8b71-280426894be9"},{"name":"Revalidar Folios Faltantes","id":"8ef313dd-8d29-4465-8827-5a3a75a2d3f6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://services.ls-da.com/a2/api/v1/analysis/revalidate?nitemisor=900328834&prefijo=FE","description":"<h2 id=\"revalidar-folios-faltantes\">Revalidar Folios Faltantes</h2>\n<p>Verifica si folios reportados como faltantes ya fueron ingresados.</p>\n<h3 id=\"parámetros-requeridos\">Parámetros (Requeridos)</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parámetro</th>\n<th>Tipo</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>nitemisor</td>\n<td>string</td>\n<td>NIT del emisor</td>\n</tr>\n<tr>\n<td>prefijo</td>\n<td>string</td>\n<td>Prefijo a validar</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"respuesta\">Respuesta</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"nitemisor\": \"900328834\",\n  \"prefijo\": \"FE\",\n  \"fecha_validacion\": \"2025-01-25T10:00:00Z\",\n  \"rango_analizado\": {\n    \"folio_inicio\": 14500,\n    \"folio_fin\": 15500\n  },\n  \"total_gaps\": 15,\n  \"folios_faltantes\": [\n    {\n      \"folio\": 14550,\n      \"fecha_estimada_brinco\": \"2025-01-15\"\n    }\n  ]\n}\n</code></pre>\n","urlObject":{"path":["a2","api","v1","analysis","revalidate"],"host":["https://services.ls-da.com"],"query":[{"key":"nitemisor","value":"900328834"},{"key":"prefijo","value":"FE"}],"variable":[]}},"response":[],"_postman_id":"8ef313dd-8d29-4465-8827-5a3a75a2d3f6"}],"id":"dd6949fa-3a72-4877-a872-561b6b0c5783","description":"<p>Sistema inteligente de análisis de folios para portal web.</p>\n","_postman_id":"dd6949fa-3a72-4877-a872-561b6b0c5783"},{"name":"7. Exportación (Excel, PDF, CSV)","item":[{"name":"Exportar Folios a Excel","id":"6c06d782-94b1-4780-8327-4c83605485fe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://services.ls-da.com/a2/api/v1/export/folios-excel?nitemisor=900328834&formato=xlsx","description":"<h2 id=\"exportar-análisis-de-folios-a-excel\">Exportar Análisis de Folios a Excel</h2>\n<p>Genera archivo Excel con análisis de folios.</p>\n<h3 id=\"parámetros\">Parámetros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parámetro</th>\n<th>Tipo</th>\n<th>Requerido</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>nitemisor</td>\n<td>string</td>\n<td>Sí</td>\n<td>NIT del emisor</td>\n</tr>\n<tr>\n<td>prefijo</td>\n<td>string</td>\n<td>No</td>\n<td>Prefijo específico</td>\n</tr>\n<tr>\n<td>formato</td>\n<td>string</td>\n<td>No</td>\n<td>xlsx (default) o csv</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"descarga-directa\">Descarga Directa</h3>\n<p>El archivo se descarga automáticamente.</p>\n","urlObject":{"path":["a2","api","v1","export","folios-excel"],"host":["https://services.ls-da.com"],"query":[{"key":"nitemisor","value":"900328834"},{"disabled":true,"description":{"content":"<p>Opcional: prefijo específico</p>\n","type":"text/plain"},"key":"prefijo","value":"FE"},{"description":{"content":"<p>xlsx o csv</p>\n","type":"text/plain"},"key":"formato","value":"xlsx"}],"variable":[]}},"response":[],"_postman_id":"6c06d782-94b1-4780-8327-4c83605485fe"},{"name":"Generar Reporte de Análisis","id":"e4208aed-1125-4c8d-9954-7a384b1e31af","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://services.ls-da.com/a2/api/v1/export/analysis-report?nitemisor=900328834&include_stats=true","description":"<h2 id=\"generar-reporte-de-análisis\">Generar Reporte de Análisis</h2>\n<p>Reporte completo de TODOS los prefijos sin límite.</p>\n<h3 id=\"parámetros\">Parámetros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parámetro</th>\n<th>Tipo</th>\n<th>Requerido</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>nitemisor</td>\n<td>string</td>\n<td>Sí</td>\n<td>NIT del emisor</td>\n</tr>\n<tr>\n<td>include_stats</td>\n<td>bool</td>\n<td>No</td>\n<td>Incluir estadísticas detalladas</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["a2","api","v1","export","analysis-report"],"host":["https://services.ls-da.com"],"query":[{"key":"nitemisor","value":"900328834"},{"key":"include_stats","value":"true"}],"variable":[]}},"response":[],"_postman_id":"e4208aed-1125-4c8d-9954-7a384b1e31af"},{"name":"Reporte Comprehensivo","id":"228e2d6e-b96a-4e2d-9883-93466c9f0f66","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://services.ls-da.com/a2/api/v1/export/comprehensive-report?nitemisor=900328834&include_gaps_detail=true&max_gaps_per_prefix=50","description":"<h2 id=\"reporte-comprehensivo\">Reporte Comprehensivo</h2>\n<p>Reporte completo con detalle de folios faltantes y fechas.</p>\n<h3 id=\"parámetros\">Parámetros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parámetro</th>\n<th>Tipo</th>\n<th>Requerido</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>nitemisor</td>\n<td>string</td>\n<td>Sí</td>\n<td>NIT del emisor</td>\n</tr>\n<tr>\n<td>include_gaps_detail</td>\n<td>bool</td>\n<td>No</td>\n<td>Incluir detalle de gaps (default: true)</td>\n</tr>\n<tr>\n<td>max_gaps_per_prefix</td>\n<td>int</td>\n<td>No</td>\n<td>Límite de gaps por prefijo (1-500, default: 50)</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"respuesta\">Respuesta</h3>\n<p>Incluye:</p>\n<ul>\n<li>Resumen ejecutivo</li>\n<li>Detalle por prefijo</li>\n<li>Clasificación por estado (excelente, bueno, atención, crítico)</li>\n<li>Recomendaciones</li>\n</ul>\n","urlObject":{"path":["a2","api","v1","export","comprehensive-report"],"host":["https://services.ls-da.com"],"query":[{"key":"nitemisor","value":"900328834"},{"key":"include_gaps_detail","value":"true"},{"key":"max_gaps_per_prefix","value":"50"}],"variable":[]}},"response":[],"_postman_id":"228e2d6e-b96a-4e2d-9883-93466c9f0f66"},{"name":"Reporte Detallado de Gaps","id":"37c54879-da71-4892-ad08-116c12817936","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://services.ls-da.com/a2/api/v1/export/detailed-gaps?nitemisor=900328834&max_gaps_per_prefix=100","description":"<h2 id=\"reporte-detallado-de-gaps\">Reporte Detallado de Gaps</h2>\n<p>Folios faltantes específicos con fechas estimadas.</p>\n<h3 id=\"parámetros\">Parámetros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parámetro</th>\n<th>Tipo</th>\n<th>Requerido</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>nitemisor</td>\n<td>string</td>\n<td>Sí</td>\n<td>NIT del emisor</td>\n</tr>\n<tr>\n<td>max_gaps_per_prefix</td>\n<td>int</td>\n<td>No</td>\n<td>Máximo gaps por prefijo (1-1000)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["a2","api","v1","export","detailed-gaps"],"host":["https://services.ls-da.com"],"query":[{"key":"nitemisor","value":"900328834"},{"key":"max_gaps_per_prefix","value":"100"}],"variable":[]}},"response":[],"_postman_id":"37c54879-da71-4892-ad08-116c12817936"},{"name":"Gaps de Prefijo Específico","id":"c44b0918-4723-4492-9dc1-d99fe832dd14","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://services.ls-da.com/a2/api/v1/export/prefix-gaps?nitemisor=900328834&prefijo=FE&max_gaps=100","description":"<h2 id=\"gaps-de-prefijo-específico\">Gaps de Prefijo Específico</h2>\n<p>Reporte detallado de folios faltantes para un prefijo.</p>\n<h3 id=\"parámetros-requeridos\">Parámetros (Requeridos)</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parámetro</th>\n<th>Tipo</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>nitemisor</td>\n<td>string</td>\n<td>NIT del emisor</td>\n</tr>\n<tr>\n<td>prefijo</td>\n<td>string</td>\n<td>Prefijo a analizar</td>\n</tr>\n<tr>\n<td>max_gaps</td>\n<td>int</td>\n<td>Máximo gaps (1-1000)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["a2","api","v1","export","prefix-gaps"],"host":["https://services.ls-da.com"],"query":[{"key":"nitemisor","value":"900328834"},{"key":"prefijo","value":"FE"},{"key":"max_gaps","value":"100"}],"variable":[]}},"response":[],"_postman_id":"c44b0918-4723-4492-9dc1-d99fe832dd14"},{"name":"Gaps de Todos los Prefijos","id":"38caae9d-62e9-4632-9c63-42f6501a9625","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://services.ls-da.com/a2/api/v1/export/all-prefixes-gaps?nitemisor=900328834&max_gaps_per_prefix=20&only_with_gaps=true","description":"<h2 id=\"gaps-de-todos-los-prefijos\">Gaps de Todos los Prefijos</h2>\n<p>Analiza todos los prefijos de un NIT.</p>\n<h3 id=\"parámetros\">Parámetros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parámetro</th>\n<th>Tipo</th>\n<th>Requerido</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>nitemisor</td>\n<td>string</td>\n<td>Sí</td>\n<td>NIT del emisor</td>\n</tr>\n<tr>\n<td>max_gaps_per_prefix</td>\n<td>int</td>\n<td>No</td>\n<td>Máximo gaps por prefijo (default: 20)</td>\n</tr>\n<tr>\n<td>only_with_gaps</td>\n<td>bool</td>\n<td>No</td>\n<td>Solo prefijos con gaps</td>\n</tr>\n<tr>\n<td>max_prefijos</td>\n<td>int</td>\n<td>No</td>\n<td>Límite de prefijos (0 = todos)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["a2","api","v1","export","all-prefixes-gaps"],"host":["https://services.ls-da.com"],"query":[{"key":"nitemisor","value":"900328834"},{"key":"max_gaps_per_prefix","value":"20"},{"key":"only_with_gaps","value":"true"},{"disabled":true,"description":{"content":"<p>0 = sin límite</p>\n","type":"text/plain"},"key":"max_prefijos","value":"0"}],"variable":[]}},"response":[],"_postman_id":"38caae9d-62e9-4632-9c63-42f6501a9625"},{"name":"Exportar CSV Simple","id":"8a56807b-3443-49c6-858a-27dfc5c79c70","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://services.ls-da.com/a2/api/v1/export/simple-csv?nitemisor=900328834&prefijo=FE","description":"<h2 id=\"exportar-csv-simple\">Exportar CSV Simple</h2>\n<p>Exportación básica a CSV.</p>\n<h3 id=\"parámetros\">Parámetros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parámetro</th>\n<th>Tipo</th>\n<th>Requerido</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>nitemisor</td>\n<td>string</td>\n<td>Sí</td>\n</tr>\n<tr>\n<td>prefijo</td>\n<td>string</td>\n<td>Sí</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["a2","api","v1","export","simple-csv"],"host":["https://services.ls-da.com"],"query":[{"key":"nitemisor","value":"900328834"},{"key":"prefijo","value":"FE"}],"variable":[]}},"response":[],"_postman_id":"8a56807b-3443-49c6-858a-27dfc5c79c70"},{"name":"Exportar CSV Básico","id":"7ca77ae3-ebc9-471e-8704-379d7ea48483","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://services.ls-da.com/a2/api/v1/export/basic-csv?nitemisor=900328834","description":"<h2 id=\"exportar-csv-básico\">Exportar CSV Básico</h2>\n<p>Exportación básica sin permisos especiales.</p>\n<h3 id=\"parámetros\">Parámetros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parámetro</th>\n<th>Tipo</th>\n<th>Requerido</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>nitemisor</td>\n<td>string</td>\n<td>Sí</td>\n<td>NIT del emisor</td>\n</tr>\n<tr>\n<td>prefijo</td>\n<td>string</td>\n<td>No</td>\n<td>Prefijo específico</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["a2","api","v1","export","basic-csv"],"host":["https://services.ls-da.com"],"query":[{"key":"nitemisor","value":"900328834"},{"disabled":true,"key":"prefijo","value":"FE"}],"variable":[]}},"response":[],"_postman_id":"7ca77ae3-ebc9-471e-8704-379d7ea48483"},{"name":"Reporte Folios Faltantes","id":"96827191-7302-482b-9497-e4becf92cf18","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://services.ls-da.com/a2/api/v1/export/missing-folios?nitemisor=900328834&prefijo=FE","description":"<h2 id=\"reporte-de-folios-faltantes\">Reporte de Folios Faltantes</h2>\n<p>CSV con formato: Prefijo, Folio, Fecha</p>\n<h3 id=\"parámetros-requeridos\">Parámetros (Requeridos)</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parámetro</th>\n<th>Tipo</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>nitemisor</td>\n<td>string</td>\n<td>NIT del emisor</td>\n</tr>\n<tr>\n<td>prefijo</td>\n<td>string</td>\n<td>Prefijo a analizar</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"descarga\">Descarga</h3>\n<p>Archivo CSV descargable directamente.</p>\n","urlObject":{"path":["a2","api","v1","export","missing-folios"],"host":["https://services.ls-da.com"],"query":[{"key":"nitemisor","value":"900328834"},{"key":"prefijo","value":"FE"}],"variable":[]}},"response":[],"_postman_id":"96827191-7302-482b-9497-e4becf92cf18"},{"name":"Ventas Sucursal - Excel Profesional","id":"7c307541-029b-4a21-bea9-9e4af522ce86","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://services.ls-da.com/a2/api/v1/export/ventas-sucursal-excel-pro?nitemisor=900328834&year=2025&month=1","description":"<h2 id=\"exportar-ventas-a-excel-profesional\">Exportar Ventas a Excel Profesional</h2>\n<p>Excel ejecutivo con múltiples hojas:</p>\n<ul>\n<li>Resumen Ejecutivo</li>\n<li>Detalle Diario</li>\n</ul>\n<h3 id=\"parámetros\">Parámetros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parámetro</th>\n<th>Tipo</th>\n<th>Requerido</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>nitemisor</td>\n<td>string</td>\n<td>Sí</td>\n<td>NIT del emisor</td>\n</tr>\n<tr>\n<td>year</td>\n<td>int</td>\n<td>Condicional</td>\n<td>Año</td>\n</tr>\n<tr>\n<td>month</td>\n<td>int</td>\n<td>Condicional</td>\n<td>Mes</td>\n</tr>\n<tr>\n<td>sucursal</td>\n<td>string</td>\n<td>No</td>\n<td>Sucursal específica</td>\n</tr>\n<tr>\n<td>fecha_inicio</td>\n<td>date</td>\n<td>Condicional</td>\n<td>Alternativa</td>\n</tr>\n<tr>\n<td>fecha_fin</td>\n<td>date</td>\n<td>Condicional</td>\n<td>Alternativa</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"respuesta\">Respuesta</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"data\": \"base64...\",\n  \"content_type\": \"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\",\n  \"filename\": \"Reporte_Ventas_Ejecutivo_900328834_2025_01.xlsx\"\n}\n</code></pre>\n","urlObject":{"path":["a2","api","v1","export","ventas-sucursal-excel-pro"],"host":["https://services.ls-da.com"],"query":[{"key":"nitemisor","value":"900328834"},{"key":"year","value":"2025"},{"key":"month","value":"1"},{"disabled":true,"key":"sucursal","value":"PRINCIPAL"},{"disabled":true,"key":"fecha_inicio","value":"2025-01-01"},{"disabled":true,"key":"fecha_fin","value":"2025-01-31"}],"variable":[]}},"response":[],"_postman_id":"7c307541-029b-4a21-bea9-9e4af522ce86"},{"name":"Ventas Sucursal - Excel Simple","id":"4bb00ba1-f8bc-4b18-9350-259e80d1fc2f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://services.ls-da.com/a2/api/v1/export/ventas-sucursal-excel?nitemisor=900328834&year=2025&month=1","description":"<h2 id=\"exportar-ventas-a-csv-simple\">Exportar Ventas a CSV Simple</h2>\n<p>Exportación CSV básica de ventas por sucursal.</p>\n<h3 id=\"parámetros\">Parámetros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parámetro</th>\n<th>Tipo</th>\n<th>Requerido</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>nitemisor</td>\n<td>string</td>\n<td>Sí</td>\n</tr>\n<tr>\n<td>year</td>\n<td>int</td>\n<td>Sí</td>\n</tr>\n<tr>\n<td>month</td>\n<td>int</td>\n<td>Sí</td>\n</tr>\n<tr>\n<td>sucursal</td>\n<td>string</td>\n<td>No</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["a2","api","v1","export","ventas-sucursal-excel"],"host":["https://services.ls-da.com"],"query":[{"key":"nitemisor","value":"900328834"},{"key":"year","value":"2025"},{"key":"month","value":"1"}],"variable":[]}},"response":[],"_postman_id":"4bb00ba1-f8bc-4b18-9350-259e80d1fc2f"},{"name":"Ventas Sucursal - PDF","id":"f0a86b77-1267-4b45-8ee4-2e08256dff2b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://services.ls-da.com/a2/api/v1/export/ventas-sucursal-pdf?nitemisor=900328834&year=2025&month=1","description":"<h2 id=\"exportar-ventas-a-pdf-html\">Exportar Ventas a PDF (HTML)</h2>\n<p>Reporte HTML listo para imprimir como PDF.</p>\n<h3 id=\"parámetros\">Parámetros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parámetro</th>\n<th>Tipo</th>\n<th>Requerido</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>nitemisor</td>\n<td>string</td>\n<td>Sí</td>\n</tr>\n<tr>\n<td>year</td>\n<td>int</td>\n<td>Sí</td>\n</tr>\n<tr>\n<td>month</td>\n<td>int</td>\n<td>Sí</td>\n</tr>\n<tr>\n<td>sucursal</td>\n<td>string</td>\n<td>No</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"descarga\">Descarga</h3>\n<p>Archivo HTML con estilos para impresión PDF.</p>\n","urlObject":{"path":["a2","api","v1","export","ventas-sucursal-pdf"],"host":["https://services.ls-da.com"],"query":[{"key":"nitemisor","value":"900328834"},{"key":"year","value":"2025"},{"key":"month","value":"1"},{"disabled":true,"key":"sucursal","value":"PRINCIPAL"}],"variable":[]}},"response":[],"_postman_id":"f0a86b77-1267-4b45-8ee4-2e08256dff2b"},{"name":"Exportar Facturas Filtradas","id":"b2583595-2ddb-4a02-a788-053dae43533c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://services.ls-da.com/a2/api/v1/export/facturas-filtradas?nitemisor=900328834&fecha_inicio=2025-01-01&fecha_fin=2025-01-31&formato=csv","description":"<h2 id=\"exportar-facturas-filtradas-a-csv\">Exportar Facturas Filtradas a CSV</h2>\n<p>Exporta facturas con los mismos filtros que el endpoint de paginación.</p>\n<h3 id=\"parámetros\">Parámetros</h3>\n<p>Todos los filtros del endpoint <code>/facturas</code> más:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parámetro</th>\n<th>Tipo</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>formato</td>\n<td>string</td>\n<td>csv (único soportado)</td>\n</tr>\n<tr>\n<td>limit</td>\n<td>int</td>\n<td>Máximo registros</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"límites\">Límites</h3>\n<ul>\n<li>Máximo 300,000 registros por exportación</li>\n<li>Si excede, devuelve error con sugerencia de filtros</li>\n</ul>\n<h3 id=\"headers-de-respuesta\">Headers de Respuesta</h3>\n<ul>\n<li>X-Total-Records: Registros exportados</li>\n<li>X-Total-Count: Total coincidentes</li>\n<li>X-Export-Duration: Tiempo de procesamiento</li>\n</ul>\n","urlObject":{"path":["a2","api","v1","export","facturas-filtradas"],"host":["https://services.ls-da.com"],"query":[{"key":"nitemisor","value":"900328834"},{"key":"fecha_inicio","value":"2025-01-01"},{"key":"fecha_fin","value":"2025-01-31"},{"key":"formato","value":"csv"},{"disabled":true,"key":"limit","value":"10000"}],"variable":[]}},"response":[],"_postman_id":"b2583595-2ddb-4a02-a788-053dae43533c"}],"id":"3bba6856-cbf6-4fae-98ef-68f030af633b","description":"<p>Servicios de exportación de datos en múltiples formatos.</p>\n","_postman_id":"3bba6856-cbf6-4fae-98ef-68f030af633b"},{"name":"8. Análisis de Detalles de Facturas","item":[{"name":"Análisis Financiero de Detalles","id":"0300b987-6952-4fea-a480-42ee5d83bad8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://services.ls-da.com/a2/api/v1/analytics/detalles-financiero?nitemisor=900328834&year=2025","description":"<h2 id=\"análisis-financiero-de-detalles\">Análisis Financiero de Detalles</h2>\n<p>Análisis financiero basado en líneas de detalle.</p>\n<h3 id=\"parámetros\">Parámetros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parámetro</th>\n<th>Tipo</th>\n<th>Requerido</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>nitemisor</td>\n<td>string</td>\n<td>Sí</td>\n<td>NIT del emisor</td>\n</tr>\n<tr>\n<td>year</td>\n<td>int</td>\n<td>Sí</td>\n<td>Año de análisis</td>\n</tr>\n<tr>\n<td>mes</td>\n<td>int</td>\n<td>No</td>\n<td>Mes específico</td>\n</tr>\n<tr>\n<td>sucursal</td>\n<td>string</td>\n<td>No</td>\n<td>Filtrar sucursal</td>\n</tr>\n<tr>\n<td>categoria</td>\n<td>string</td>\n<td>No</td>\n<td>Filtrar categoría</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"respuesta\">Respuesta</h3>\n<p>Incluye:</p>\n<ul>\n<li>Total líneas, importe, impuestos</li>\n<li>Margen promedio</li>\n<li>Ticket promedio</li>\n<li>Desglose por tipo de impuesto</li>\n</ul>\n","urlObject":{"path":["a2","api","v1","analytics","detalles-financiero"],"host":["https://services.ls-da.com"],"query":[{"key":"nitemisor","value":"900328834"},{"key":"year","value":"2025"},{"disabled":true,"key":"mes","value":"1"},{"disabled":true,"key":"sucursal","value":"PRINCIPAL"},{"disabled":true,"key":"categoria","value":""}],"variable":[]}},"response":[],"_postman_id":"0300b987-6952-4fea-a480-42ee5d83bad8"},{"name":"Análisis Operacional de Detalles","id":"9fbe9aa2-0c75-498d-b3de-eb3f89a49e8a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://services.ls-da.com/a2/api/v1/analytics/detalles-operacional?nitemisor=900328834&year=2025","description":"<h2 id=\"análisis-operacional-de-detalles\">Análisis Operacional de Detalles</h2>\n<p>Análisis operacional de productos vendidos.</p>\n<h3 id=\"parámetros\">Parámetros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parámetro</th>\n<th>Tipo</th>\n<th>Requerido</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>nitemisor</td>\n<td>string</td>\n<td>Sí</td>\n</tr>\n<tr>\n<td>year</td>\n<td>int</td>\n<td>Sí</td>\n</tr>\n<tr>\n<td>mes</td>\n<td>int</td>\n<td>No</td>\n</tr>\n<tr>\n<td>sucursal</td>\n<td>string</td>\n<td>No</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"respuesta\">Respuesta</h3>\n<p>Incluye:</p>\n<ul>\n<li>Top productos por cantidad</li>\n<li>Unidades de medida utilizadas</li>\n<li>Recomendaciones operacionales</li>\n</ul>\n","urlObject":{"path":["a2","api","v1","analytics","detalles-operacional"],"host":["https://services.ls-da.com"],"query":[{"key":"nitemisor","value":"900328834"},{"key":"year","value":"2025"}],"variable":[]}},"response":[],"_postman_id":"9fbe9aa2-0c75-498d-b3de-eb3f89a49e8a"},{"name":"Análisis Marketing de Detalles","id":"cc57699c-7d68-46bd-bed2-3a205cd807c7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://services.ls-da.com/a2/api/v1/analytics/detalles-marketing?nitemisor=900328834&year=2025","description":"<h2 id=\"análisis-de-marketing-de-detalles\">Análisis de Marketing de Detalles</h2>\n<p>Análisis de marketing y comportamiento de ventas.</p>\n<h3 id=\"parámetros\">Parámetros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parámetro</th>\n<th>Tipo</th>\n<th>Requerido</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>nitemisor</td>\n<td>string</td>\n<td>Sí</td>\n</tr>\n<tr>\n<td>year</td>\n<td>int</td>\n<td>Sí</td>\n</tr>\n<tr>\n<td>mes</td>\n<td>int</td>\n<td>No</td>\n</tr>\n<tr>\n<td>sucursal</td>\n<td>string</td>\n<td>No</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"respuesta\">Respuesta</h3>\n<p>Incluye:</p>\n<ul>\n<li>Sucursales top</li>\n<li>Participación de mercado</li>\n<li>Tendencia mensual</li>\n<li>Crecimiento vs mes anterior</li>\n<li>Insights y acciones recomendadas</li>\n</ul>\n","urlObject":{"path":["a2","api","v1","analytics","detalles-marketing"],"host":["https://services.ls-da.com"],"query":[{"key":"nitemisor","value":"900328834"},{"key":"year","value":"2025"}],"variable":[]}},"response":[],"_postman_id":"cc57699c-7d68-46bd-bed2-3a205cd807c7"},{"name":"Facturas con Métodos de Pago","id":"5af7b950-9992-4a6f-82e9-a57c496215e4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://services.ls-da.com/a2/api/v1/analytics/facturas-metodos-pago?nitemisor=900328834&fecha_inicio=2025-01-01&fecha_fin=2025-01-31","description":"<h2 id=\"facturas-con-métodos-de-pago\">Facturas con Métodos de Pago</h2>\n<p>Lista facturas con detalle de métodos de pago utilizados.</p>\n<h3 id=\"parámetros\">Parámetros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parámetro</th>\n<th>Tipo</th>\n<th>Requerido</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>nitemisor</td>\n<td>string</td>\n<td>Sí</td>\n<td>NIT del emisor</td>\n</tr>\n<tr>\n<td>fecha_inicio</td>\n<td>date</td>\n<td>Sí</td>\n<td>Inicio período (YYYY-MM-DD)</td>\n</tr>\n<tr>\n<td>fecha_fin</td>\n<td>date</td>\n<td>Sí</td>\n<td>Fin período (YYYY-MM-DD)</td>\n</tr>\n<tr>\n<td>limit</td>\n<td>int</td>\n<td>No</td>\n<td>Límite de resultados</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["a2","api","v1","analytics","facturas-metodos-pago"],"host":["https://services.ls-da.com"],"query":[{"key":"nitemisor","value":"900328834"},{"key":"fecha_inicio","value":"2025-01-01"},{"key":"fecha_fin","value":"2025-01-31"},{"disabled":true,"key":"limit","value":"100"}],"variable":[]}},"response":[],"_postman_id":"5af7b950-9992-4a6f-82e9-a57c496215e4"},{"name":"Debug Facturas Detalle","id":"3e54323b-f1bf-41ba-940e-0d5f941f46ea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://services.ls-da.com/a2/api/v1/analytics/debug-facturas-detalle","description":"<h2 id=\"debug-facturas-detalle\">Debug Facturas Detalle</h2>\n<p>Endpoint temporal para debugging de tabla facturas_detalle.</p>\n<p><strong>Nota</strong>: Solo para desarrollo.</p>\n","urlObject":{"path":["a2","api","v1","analytics","debug-facturas-detalle"],"host":["https://services.ls-da.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"3e54323b-f1bf-41ba-940e-0d5f941f46ea"}],"id":"304b56a7-66e5-4124-ae03-63ec87d3a7f9","description":"<p>Análisis de líneas de detalle de facturas.</p>\n","_postman_id":"304b56a7-66e5-4124-ae03-63ec87d3a7f9"},{"name":"9. Análisis de Métodos de Pago","item":[{"name":"Análisis Financiero de Pagos","id":"5fc434fb-965e-4fb1-9050-e128f6f33e60","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://services.ls-da.com/a2/api/v1/analytics/metodos-pago-financiero?nitemisor=900328834&year=2025","description":"<h2 id=\"análisis-financiero-de-métodos-de-pago\">Análisis Financiero de Métodos de Pago</h2>\n<p>Análisis financiero de métodos de pago.</p>\n<h3 id=\"parámetros\">Parámetros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parámetro</th>\n<th>Tipo</th>\n<th>Requerido</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>nitemisor</td>\n<td>string</td>\n<td>Sí</td>\n<td>NIT del emisor</td>\n</tr>\n<tr>\n<td>year</td>\n<td>int</td>\n<td>Sí</td>\n<td>Año de análisis</td>\n</tr>\n<tr>\n<td>mes</td>\n<td>int</td>\n<td>No</td>\n<td>Mes específico</td>\n</tr>\n<tr>\n<td>sucursal</td>\n<td>string</td>\n<td>No</td>\n<td>Filtrar sucursal</td>\n</tr>\n<tr>\n<td>tipo_metodo</td>\n<td>string</td>\n<td>No</td>\n<td>Tipo de método</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"respuesta\">Respuesta</h3>\n<p>Incluye:</p>\n<ul>\n<li>Métodos de pago con porcentaje del total</li>\n<li>Método preferido</li>\n<li>Concentración top 3</li>\n<li>Tendencias y riesgos</li>\n</ul>\n","urlObject":{"path":["a2","api","v1","analytics","metodos-pago-financiero"],"host":["https://services.ls-da.com"],"query":[{"key":"nitemisor","value":"900328834"},{"key":"year","value":"2025"},{"disabled":true,"key":"mes","value":"1"},{"disabled":true,"key":"sucursal","value":""},{"disabled":true,"key":"tipo_metodo","value":""}],"variable":[]}},"response":[],"_postman_id":"5fc434fb-965e-4fb1-9050-e128f6f33e60"},{"name":"Análisis Operacional de Pagos","id":"2f9d6bfc-61de-4a48-b522-d07425e0617c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://services.ls-da.com/a2/api/v1/analytics/metodos-pago-operacional?nitemisor=900328834&year=2025","description":"<h2 id=\"análisis-operacional-de-métodos-de-pago\">Análisis Operacional de Métodos de Pago</h2>\n<p>Análisis operacional de pagos por sucursal y día.</p>\n<h3 id=\"parámetros\">Parámetros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parámetro</th>\n<th>Tipo</th>\n<th>Requerido</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>nitemisor</td>\n<td>string</td>\n<td>Sí</td>\n<td>NIT del emisor</td>\n</tr>\n<tr>\n<td>year</td>\n<td>int</td>\n<td>Sí</td>\n<td>Año de análisis</td>\n</tr>\n<tr>\n<td>mes</td>\n<td>int</td>\n<td>No</td>\n<td>Mes específico</td>\n</tr>\n<tr>\n<td>sucursal</td>\n<td>string</td>\n<td>No</td>\n<td>Filtrar sucursal</td>\n</tr>\n<tr>\n<td>tipo_metodo</td>\n<td>string</td>\n<td>No</td>\n<td>Tipo de método</td>\n</tr>\n<tr>\n<td>fecha_inicio</td>\n<td>date</td>\n<td>No</td>\n<td>Fecha inicio (ignora mes)</td>\n</tr>\n<tr>\n<td>fecha_fin</td>\n<td>date</td>\n<td>No</td>\n<td>Fecha fin</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"respuesta\">Respuesta</h3>\n<p>Incluye:</p>\n<ul>\n<li>Sucursal más activa</li>\n<li>Día con más transacciones</li>\n<li>Eficiencia operacional</li>\n<li>Optimizaciones sugeridas</li>\n<li>Alertas operacionales</li>\n</ul>\n","urlObject":{"path":["a2","api","v1","analytics","metodos-pago-operacional"],"host":["https://services.ls-da.com"],"query":[{"key":"nitemisor","value":"900328834"},{"key":"year","value":"2025"},{"disabled":true,"key":"mes","value":"1"},{"disabled":true,"key":"sucursal","value":""},{"disabled":true,"key":"fecha_inicio","value":"2025-01-01"},{"disabled":true,"key":"fecha_fin","value":"2025-01-31"}],"variable":[]}},"response":[],"_postman_id":"2f9d6bfc-61de-4a48-b522-d07425e0617c"}],"id":"7a12c0c2-1885-46a2-af0a-293041494fb0","description":"<p>Análisis de métodos de pago utilizados.</p>\n","_postman_id":"7a12c0c2-1885-46a2-af0a-293041494fb0"},{"name":"10. Análisis de Productos","item":[{"name":"Rentabilidad Relativa","id":"af4b0e60-d0c4-4ef0-9685-506d1064f029","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://services.ls-da.com/a2/api/v1/productos/rentabilidad-relativa?nitemisor=900328834&year=2025","description":"<h2 id=\"análisis-de-rentabilidad-relativa\">Análisis de Rentabilidad Relativa</h2>\n<p>Análisis financiero de productos.</p>\n<h3 id=\"parámetros\">Parámetros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parámetro</th>\n<th>Tipo</th>\n<th>Requerido</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>nitemisor</td>\n<td>string</td>\n<td>Sí</td>\n<td>NIT del emisor</td>\n</tr>\n<tr>\n<td>year</td>\n<td>int</td>\n<td>Sí</td>\n<td>Año (2020-2030)</td>\n</tr>\n<tr>\n<td>mes</td>\n<td>int</td>\n<td>No</td>\n<td>Mes específico</td>\n</tr>\n<tr>\n<td>sucursal</td>\n<td>string</td>\n<td>No</td>\n<td>Filtrar sucursal</td>\n</tr>\n<tr>\n<td>producto</td>\n<td>string</td>\n<td>No</td>\n<td>Filtrar producto</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["a2","api","v1","productos","rentabilidad-relativa"],"host":["https://services.ls-da.com"],"query":[{"key":"nitemisor","value":"900328834"},{"key":"year","value":"2025"},{"disabled":true,"key":"mes","value":"1"},{"disabled":true,"key":"sucursal","value":""},{"disabled":true,"key":"producto","value":""}],"variable":[]}},"response":[],"_postman_id":"af4b0e60-d0c4-4ef0-9685-506d1064f029"},{"name":"Gestión de Inventario","id":"243e9687-20c6-475f-8790-d3683d12d7be","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://services.ls-da.com/a2/api/v1/productos/gestion-inventario?nitemisor=900328834&year=2025","description":"<h2 id=\"análisis-de-gestión-de-inventario\">Análisis de Gestión de Inventario</h2>\n<p>Análisis operacional para gestión de inventario.</p>\n<h3 id=\"parámetros\">Parámetros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parámetro</th>\n<th>Tipo</th>\n<th>Requerido</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>nitemisor</td>\n<td>string</td>\n<td>Sí</td>\n</tr>\n<tr>\n<td>year</td>\n<td>int</td>\n<td>Sí</td>\n</tr>\n<tr>\n<td>mes</td>\n<td>int</td>\n<td>No</td>\n</tr>\n<tr>\n<td>sucursal</td>\n<td>string</td>\n<td>No</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["a2","api","v1","productos","gestion-inventario"],"host":["https://services.ls-da.com"],"query":[{"key":"nitemisor","value":"900328834"},{"key":"year","value":"2025"}],"variable":[]}},"response":[],"_postman_id":"243e9687-20c6-475f-8790-d3683d12d7be"},{"name":"Comportamiento de Cliente","id":"44307ad9-dcee-429c-ba85-dcf79c3cc5d8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://services.ls-da.com/a2/api/v1/productos/comportamiento-cliente?nitemisor=900328834&year=2025","description":"<h2 id=\"análisis-de-comportamiento-de-cliente\">Análisis de Comportamiento de Cliente</h2>\n<p>Análisis de marketing basado en comportamiento.</p>\n<h3 id=\"parámetros\">Parámetros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parámetro</th>\n<th>Tipo</th>\n<th>Requerido</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>nitemisor</td>\n<td>string</td>\n<td>Sí</td>\n</tr>\n<tr>\n<td>year</td>\n<td>int</td>\n<td>Sí</td>\n</tr>\n<tr>\n<td>mes</td>\n<td>int</td>\n<td>No</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["a2","api","v1","productos","comportamiento-cliente"],"host":["https://services.ls-da.com"],"query":[{"key":"nitemisor","value":"900328834"},{"key":"year","value":"2025"}],"variable":[]}},"response":[],"_postman_id":"44307ad9-dcee-429c-ba85-dcf79c3cc5d8"},{"name":"Crecimiento y Expansión","id":"356e87ae-8613-40c0-8b2c-a8f99b19f309","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://services.ls-da.com/a2/api/v1/productos/crecimiento-expansion?nitemisor=900328834&year=2025","description":"<h2 id=\"análisis-de-crecimiento-y-expansión\">Análisis de Crecimiento y Expansión</h2>\n<p>Análisis estratégico para decisiones de crecimiento.</p>\n<h3 id=\"parámetros\">Parámetros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parámetro</th>\n<th>Tipo</th>\n<th>Requerido</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>nitemisor</td>\n<td>string</td>\n<td>Sí</td>\n</tr>\n<tr>\n<td>year</td>\n<td>int</td>\n<td>Sí</td>\n</tr>\n<tr>\n<td>mes</td>\n<td>int</td>\n<td>No</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["a2","api","v1","productos","crecimiento-expansion"],"host":["https://services.ls-da.com"],"query":[{"key":"nitemisor","value":"900328834"},{"key":"year","value":"2025"}],"variable":[]}},"response":[],"_postman_id":"356e87ae-8613-40c0-8b2c-a8f99b19f309"},{"name":"Análisis de Estacionalidad","id":"3e32fd52-ea8a-4ccc-8fea-3d7a8d053f18","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://services.ls-da.com/a2/api/v1/productos/estacionalidad?nitemisor=900328834&year=2025","description":"<h2 id=\"análisis-de-estacionalidad\">Análisis de Estacionalidad</h2>\n<p>Análisis temporal de productos.</p>\n<h3 id=\"parámetros\">Parámetros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parámetro</th>\n<th>Tipo</th>\n<th>Requerido</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>nitemisor</td>\n<td>string</td>\n<td>Sí</td>\n</tr>\n<tr>\n<td>year</td>\n<td>int</td>\n<td>Sí</td>\n</tr>\n<tr>\n<td>sucursal</td>\n<td>string</td>\n<td>No</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["a2","api","v1","productos","estacionalidad"],"host":["https://services.ls-da.com"],"query":[{"key":"nitemisor","value":"900328834"},{"key":"year","value":"2025"},{"disabled":true,"key":"sucursal","value":""}],"variable":[]}},"response":[],"_postman_id":"3e32fd52-ea8a-4ccc-8fea-3d7a8d053f18"}],"id":"b87b504e-e513-49c9-a959-d10985ba2dff","description":"<p>Análisis de productos basado en facturas_detalle.</p>\n","_postman_id":"b87b504e-e513-49c9-a959-d10985ba2dff"},{"name":"11. Análisis de Impuestos","item":[{"name":"Impuestos Detalle Global","id":"08de5f58-87dd-4814-ad99-da930c4833eb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://services.ls-da.com/a2/api/v1/analytics/impuestos-detalle-global?nitemisor=900328834&fecha_inicio=2025-01-01&fecha_fin=2025-01-31","description":"<h2 id=\"impuestos-detalle-global\">Impuestos Detalle Global</h2>\n<p>Reporte global de impuestos por tipo y tasa.</p>\n<h3 id=\"parámetros-requeridos\">Parámetros (Requeridos)</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parámetro</th>\n<th>Tipo</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>nitemisor</td>\n<td>string</td>\n<td>NIT del emisor</td>\n</tr>\n<tr>\n<td>fecha_inicio</td>\n<td>date</td>\n<td>Inicio período (YYYY-MM-DD)</td>\n</tr>\n<tr>\n<td>fecha_fin</td>\n<td>date</td>\n<td>Fin período (YYYY-MM-DD)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["a2","api","v1","analytics","impuestos-detalle-global"],"host":["https://services.ls-da.com"],"query":[{"key":"nitemisor","value":"900328834"},{"key":"fecha_inicio","value":"2025-01-01"},{"key":"fecha_fin","value":"2025-01-31"}],"variable":[]}},"response":[],"_postman_id":"08de5f58-87dd-4814-ad99-da930c4833eb"},{"name":"Impuestos por Sucursal","id":"66fa8898-9465-4287-8b3c-81f46de3bbd1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://services.ls-da.com/a2/api/v1/analytics/impuestos-detalle-sucursal?nitemisor=900328834&fecha_inicio=2025-01-01&fecha_fin=2025-01-31","description":"<h2 id=\"impuestos-por-sucursal\">Impuestos por Sucursal</h2>\n<p>Reporte de impuestos desglosado por sucursal.</p>\n<h3 id=\"parámetros-requeridos\">Parámetros (Requeridos)</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parámetro</th>\n<th>Tipo</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>nitemisor</td>\n<td>string</td>\n<td>NIT del emisor</td>\n</tr>\n<tr>\n<td>fecha_inicio</td>\n<td>date</td>\n<td>Formato YYYY-MM-DD</td>\n</tr>\n<tr>\n<td>fecha_fin</td>\n<td>date</td>\n<td>Formato YYYY-MM-DD</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["a2","api","v1","analytics","impuestos-detalle-sucursal"],"host":["https://services.ls-da.com"],"query":[{"key":"nitemisor","value":"900328834"},{"key":"fecha_inicio","value":"2025-01-01"},{"key":"fecha_fin","value":"2025-01-31"}],"variable":[]}},"response":[],"_postman_id":"66fa8898-9465-4287-8b3c-81f46de3bbd1"},{"name":"Impuestos por Día","id":"343614df-4177-4872-88be-ab4f1d1af2f6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://services.ls-da.com/a2/api/v1/analytics/impuestos-detalle-diario?nitemisor=900328834&fecha_inicio=2025-01-01&fecha_fin=2025-01-31","description":"<h2 id=\"impuestos-por-día\">Impuestos por Día</h2>\n<p>Reporte desglosado: día &gt; sucursal &gt; impuesto.</p>\n<h3 id=\"parámetros-requeridos\">Parámetros (Requeridos)</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parámetro</th>\n<th>Tipo</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>nitemisor</td>\n<td>string</td>\n<td>NIT del emisor</td>\n</tr>\n<tr>\n<td>fecha_inicio</td>\n<td>date</td>\n<td>Formato YYYY-MM-DD</td>\n</tr>\n<tr>\n<td>fecha_fin</td>\n<td>date</td>\n<td>Formato YYYY-MM-DD</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["a2","api","v1","analytics","impuestos-detalle-diario"],"host":["https://services.ls-da.com"],"query":[{"key":"nitemisor","value":"900328834"},{"key":"fecha_inicio","value":"2025-01-01"},{"key":"fecha_fin","value":"2025-01-31"}],"variable":[]}},"response":[],"_postman_id":"343614df-4177-4872-88be-ab4f1d1af2f6"}],"id":"0145ea55-3191-447c-b0ca-da82532d6cd6","description":"<p>Reportes de impuestos calculados desde líneas de detalle.</p>\n","_postman_id":"0145ea55-3191-447c-b0ca-da82532d6cd6"},{"name":"12. Análisis por Terceros","item":[{"name":"Análisis por Terceros (Agregado)","id":"5d2b3004-cd07-4eb7-a9b2-c66098d3a092","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://services.ls-da.com/a2/api/v1/analytics/terceros?nitemisor=900328834&year=2025&limit=100","description":"<h2 id=\"análisis-agregado-por-terceros\">Análisis Agregado por Terceros</h2>\n<p>Análisis de terceros (NIT receptor) con totales agregados.</p>\n<h3 id=\"parámetros\">Parámetros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parámetro</th>\n<th>Tipo</th>\n<th>Requerido</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>nitemisor</td>\n<td>string</td>\n<td>Sí</td>\n<td>NIT del emisor</td>\n</tr>\n<tr>\n<td>year</td>\n<td>int</td>\n<td>Condicional</td>\n<td>Año de análisis</td>\n</tr>\n<tr>\n<td>fecha_inicio</td>\n<td>date</td>\n<td>Condicional</td>\n<td>Alternativa a year</td>\n</tr>\n<tr>\n<td>fecha_fin</td>\n<td>date</td>\n<td>Condicional</td>\n<td>Alternativa a year</td>\n</tr>\n<tr>\n<td>limit</td>\n<td>int</td>\n<td>No</td>\n<td>Límite (0 = sin límite, max 10000)</td>\n</tr>\n<tr>\n<td>offset</td>\n<td>int</td>\n<td>No</td>\n<td>Offset para paginación</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"respuesta\">Respuesta</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"metadata\": {\n    \"periodo\": \"Año 2025\",\n    \"total_terceros_en_pagina\": 100,\n    \"alertas\": [...],\n    \"recomendaciones\": [...]\n  },\n  \"resumen\": {\n    \"total_terceros\": 500,\n    \"total_ventas_generales\": 1500000000,\n    \"promedio_venta_general\": 3000000\n  },\n  \"terceros\": [\n    {\n      \"nit_receptor\": \"800123456\",\n      \"nombre_receptor\": \"CLIENTE ABC\",\n      \"total_facturas\": 150,\n      \"total_ventas\": 50000000,\n      \"sucursales_atendidas\": 3\n    }\n  ]\n}\n</code></pre>\n","urlObject":{"path":["a2","api","v1","analytics","terceros"],"host":["https://services.ls-da.com"],"query":[{"key":"nitemisor","value":"900328834"},{"key":"year","value":"2025"},{"description":{"content":"<p>Límite de terceros (0 = sin límite, max 10000)</p>\n","type":"text/plain"},"key":"limit","value":"100"},{"disabled":true,"key":"offset","value":"0"},{"disabled":true,"key":"fecha_inicio","value":"2025-01-01"},{"disabled":true,"key":"fecha_fin","value":"2025-12-31"}],"variable":[]}},"response":[],"_postman_id":"5d2b3004-cd07-4eb7-a9b2-c66098d3a092"},{"name":"Análisis por Terceros (Detallado)","id":"69172a31-fd94-4ebe-8937-cd591281d23f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://services.ls-da.com/a2/api/v1/analytics/terceros/detallado?nitemisor=900328834&year=2025&limit=50","description":"<h2 id=\"análisis-detallado-por-terceros\">Análisis Detallado por Terceros</h2>\n<p>Análisis con desglose por tipo de comprobante.</p>\n<h3 id=\"parámetros\">Parámetros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parámetro</th>\n<th>Tipo</th>\n<th>Requerido</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>nitemisor</td>\n<td>string</td>\n<td>Sí</td>\n<td>NIT del emisor</td>\n</tr>\n<tr>\n<td>year</td>\n<td>int</td>\n<td>Condicional</td>\n<td>Año</td>\n</tr>\n<tr>\n<td>mes</td>\n<td>int</td>\n<td>No</td>\n<td>Mes específico</td>\n</tr>\n<tr>\n<td>fecha_inicio</td>\n<td>date</td>\n<td>Condicional</td>\n<td>Alternativa</td>\n</tr>\n<tr>\n<td>fecha_fin</td>\n<td>date</td>\n<td>Condicional</td>\n<td>Alternativa</td>\n</tr>\n<tr>\n<td>limit</td>\n<td>int</td>\n<td>No</td>\n<td>Límite (max 10000)</td>\n</tr>\n<tr>\n<td>offset</td>\n<td>int</td>\n<td>No</td>\n<td>Offset</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"respuesta\">Respuesta</h3>\n<p>Incluye desglose por tipo de comprobante:</p>\n<ul>\n<li>01: Facturas</li>\n<li>03: Contingencia</li>\n<li>91: Notas crédito</li>\n</ul>\n","urlObject":{"path":["a2","api","v1","analytics","terceros","detallado"],"host":["https://services.ls-da.com"],"query":[{"key":"nitemisor","value":"900328834"},{"key":"year","value":"2025"},{"disabled":true,"key":"mes","value":"1"},{"key":"limit","value":"50"},{"disabled":true,"key":"offset","value":"0"}],"variable":[]}},"response":[],"_postman_id":"69172a31-fd94-4ebe-8937-cd591281d23f"}],"id":"13260c65-4150-4ea2-9634-73e95a2f6e37","description":"<p>Análisis de clientes/receptores.</p>\n","_postman_id":"13260c65-4150-4ea2-9634-73e95a2f6e37"},{"name":"13. Consultas de Resoluciones","item":[{"name":"Última Factura por Resolución","id":"c318f805-ea14-46ca-9a01-9c6bfce7a295","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://services.ls-da.com/a2/api/v1/analytics/ultima-factura-resolucion?nitemisor=900328834","description":"<h2 id=\"última-factura-por-resolución\">Última Factura por Resolución</h2>\n<p>Obtiene la última factura emitida por cada resolución y prefijo.</p>\n<h3 id=\"parámetros\">Parámetros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parámetro</th>\n<th>Tipo</th>\n<th>Requerido</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>nitemisor</td>\n<td>string</td>\n<td>Sí</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"respuesta\">Respuesta</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"data\": [\n    {\n      \"resolucion\": \"18764003258888\",\n      \"prefijo\": \"FE\",\n      \"ultimo_folio\": 15500,\n      \"ultima_fecha\": \"2025-01-25\"\n    }\n  ]\n}\n</code></pre>\n","urlObject":{"path":["a2","api","v1","analytics","ultima-factura-resolucion"],"host":["https://services.ls-da.com"],"query":[{"key":"nitemisor","value":"900328834"}],"variable":[]}},"response":[],"_postman_id":"c318f805-ea14-46ca-9a01-9c6bfce7a295"}],"id":"9c6f7b71-056e-4afb-bae2-ff990a419104","description":"<p>Consultas de resoluciones y última factura.</p>\n","_postman_id":"9c6f7b71-056e-4afb-bae2-ff990a419104"},{"name":"14. Eventos de Email (Postmark)","item":[{"name":"Eventos Postmark","id":"ba880c16-4a31-4282-89db-0db273911239","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://services.ls-da.com/a2/api/v1/postmark/events?documento=FE12345&emisor=900328834","description":"<h2 id=\"eventos-de-postmark\">Eventos de Postmark</h2>\n<p>Obtiene eventos de email agrupados por message_id.</p>\n<h3 id=\"parámetros-requeridos\">Parámetros (Requeridos)</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parámetro</th>\n<th>Tipo</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>documento</td>\n<td>string</td>\n<td>Número de documento</td>\n</tr>\n<tr>\n<td>emisor</td>\n<td>string</td>\n<td>NIT del emisor</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"respuesta\">Respuesta</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"documento\": \"FE12345\",\n  \"emisor\": \"900328834\",\n  \"message_ids\": 2,\n  \"total_events\": 5,\n  \"data\": [\n    {\n      \"message_id\": \"uuid-1\",\n      \"events\": [\n        {\n          \"event_type\": \"Delivery\",\n          \"event_time\": \"2025-01-25T10:00:00Z\",\n          \"recipient\": \"cliente@email.com\"\n        }\n      ]\n    }\n  ]\n}\n</code></pre>\n","urlObject":{"path":["a2","api","v1","postmark","events"],"host":["https://services.ls-da.com"],"query":[{"description":{"content":"<p>Número de documento (prefijo+folio)</p>\n","type":"text/plain"},"key":"documento","value":"FE12345"},{"description":{"content":"<p>NIT del emisor</p>\n","type":"text/plain"},"key":"emisor","value":"900328834"}],"variable":[]}},"response":[],"_postman_id":"ba880c16-4a31-4282-89db-0db273911239"}],"id":"de107540-050e-47bf-81b3-eaf630261a68","description":"<p>Consulta de eventos de envío de email.</p>\n","_postman_id":"de107540-050e-47bf-81b3-eaf630261a68"}],"variable":[{"key":"base_url","value":"https://services.ls-da.com"},{"key":"nitemisor_ejemplo","value":"900328834"},{"key":"year_ejemplo","value":"2025"}]}